-
Notifications
You must be signed in to change notification settings - Fork 595
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
dynamically bound sources #1089
Comments
@Shohou How would a dynamic source work? For destinations the concept is to support routers so that messages with different payload/headers would map to different endpoints. Now for sources? What does that mean, how you switch sources? Based on what criteria? There's a new story on allowing programmatically creation of sources instead of just relying on |
@viniciusccarvalho Is there a way to define Input with channel name not hard coded into the application? Let's say I have the application which I want to deploy multiple times as multiple nodes of some service and attach each node to the different channel. Channel name must be configurable somehow, for example it could be based on spring.application.name plus some prefix. Is it possible right now? I couldn't find. |
@Shohou , Seems for me you are mixing Looks like what you need is called binding in Spring Cloud Stream. That is definitely an external destination, e.g. Kafka topic, to which we bind our internal message channel. And that is already indeed can be configured in the
where Does it make sense to you? |
somehow i missed destination property... or well... its because of evolution of some ideas... anyway destination solves my problem Thank you! |
It seems strange to me that there is dynamically bound destinations, but no dynamically bound sources. Is there a reason for that?
It seems to be easy implementable by copying BinderAwareChannelResolver, BeanFactoryMessageChannelDestinationResolver, DynamicDestinationsBindable, renaming them and changing logic to create inputs instead of outputs
The text was updated successfully, but these errors were encountered: