Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pubsub docs for JVM #2996

Merged
merged 1 commit into from
Oct 4, 2024
Merged

chore: pubsub docs for JVM #2996

merged 1 commit into from
Oct 4, 2024

Conversation

stuartwdouglas
Copy link
Collaborator

fixes: #2887

@stuartwdouglas stuartwdouglas requested review from a team and matt2e and removed request for a team October 4, 2024 03:05
This was referenced Oct 4, 2024
```

This is ok, but it requires the use of string constants for the topic name, which can be error-prone. If you are subscribing to a topic from
another module, FTL will generate a type-safe subscription meta annotation you can use to subscribe to the topic:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really don't love this as an end state, is there a way we can have type safety for topics in the same module too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could just directly reference the topic in this case, I will put up a PR next week.

@stuartwdouglas stuartwdouglas merged commit 1839d00 into main Oct 4, 2024
97 checks passed
@stuartwdouglas stuartwdouglas deleted the stuartwdouglas/jvm-docs branch October 4, 2024 23:19
@matt2e matt2e added the approved Marks an already closed PR as approved label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Marks an already closed PR as approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update documentation with Kotlin+Java snippets
4 participants