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

[Feature Request]: SolaceIO - publishing to dynamic topics (like TopicNameMapper in JmsIO) #32718

Closed
1 of 17 tasks
ppawel opened this issue Oct 9, 2024 · 4 comments
Closed
1 of 17 tasks

Comments

@ppawel
Copy link

ppawel commented Oct 9, 2024

What would you like to happen?

We have a use case of publishing messages to "dynamic" topics, meaning the name of the topic is depending on the message being published, something like: my/great/topic/{countryCode}/{someType}/{whatever}. These placeholders depend on the payload that is being mapped to a message. This allows consumers to subscribe only to a subset of messages that are interesting to them.

In JmsIO this is easy to do by providing a custom lambda via the topicNameMapper property.

Would you consider adding this to SolaceIO in some form?

CC @bzablocki

Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
@ppawel ppawel changed the title [Feature Request]: SolaceIO - publishing to dynamic topic (like TopicNameMapper in JmsIO) [Feature Request]: SolaceIO - publishing to dynamic topics (like TopicNameMapper in JmsIO) Oct 9, 2024
@ppawel
Copy link
Author

ppawel commented Nov 6, 2024

@bzablocki Could you give a hint if this feature would be included in any near-future roadmap?

@bzablocki
Copy link
Contributor

We're currently finishing up the Write connector, and I believe it has the feature that you mentioned here - see the PR https://github.com/apache/beam/pull/32060/files#diff-b61373f75a4de5bdf91a94bd1d008285b883533994138b07a393a30377140b49R1064-R1065
You'll be able to set a destination for each record you send to Solace. This PR should be merged soon and be released in Beam 2.61 or 2.62.

@bzablocki
Copy link
Contributor

We managed to release the Write connector in Beam 2.61. Feel free to test and close this request if no longer relevant.

@ppawel
Copy link
Author

ppawel commented Nov 14, 2024

We managed to release the Write connector in Beam 2.61. Feel free to test and close this request if no longer relevant.

Ah sorry for late reply... Thanks for the update, we are planning to switch publishing to SolaceIO from JmsIO as well so for sure is relevant. I will test it and report any issues in separate bugs if anything occurs.

Thanks again for support!

@ppawel ppawel closed this as completed Nov 14, 2024
@github-actions github-actions bot added this to the 2.62.0 Release milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants