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

Kafka properties for multiple producers #19009

Closed
emilnkrastev opened this issue Nov 13, 2019 · 1 comment
Closed

Kafka properties for multiple producers #19009

emilnkrastev opened this issue Nov 13, 2019 · 1 comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply

Comments

@emilnkrastev
Copy link

emilnkrastev commented Nov 13, 2019

Hi team,

I have a project with multiple producers and I would like to have a way to provide Kafka properties for each one of them. For example: spring.kafka.producers..

Does it make sense to have such functionality?

Regards!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 13, 2019
@wilkinsona
Copy link
Member

Thanks for the suggestion, but auto-configuration is targeted at the simpler more common use-case at the moment where only a single producer is used. If you require multiple producers you can do so via your own @Configuration and @Bean methods. This position may change in the future as we're considering support for auto-configuring multiple DataSources. If we end up doing something there, the solution is likely to be generally applicable. At that point we can reconsider this suggestion. Closing for now.

@wilkinsona wilkinsona added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

No branches or pull requests

3 participants