-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Add virtual host support for Rabbit Stream #37189
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
Add virtual host support for Rabbit Stream #37189
Conversation
@anessi Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@anessi Thank you for signing the Contributor License Agreement! |
1 similar comment
@anessi Thank you for signing the Contributor License Agreement! |
Looks good, thank you. The only thing I'm not sure about is the automatic fallback to |
Thanks for the feedback. Yes, you're right that this changes the behavior slightly, but I think most people use the default virtual host |
4bfc3ac
to
beacd3a
Compare
fixed the formatting (line length) using |
…e used to set a custom virtual host for streams Fixes spring-projects#37123
beacd3a
to
4b0f29c
Compare
After discussion with the team, the fallback is fine. We should add a note to the release notes how to restore the old behavior. |
Add a new property 'spring.rabbitmq.stream.virtual-host' which can be used to set a custom virtual host for streams. See gh-37189
Thank you very much @anessi ! |
Fixes #37123
I assume the documentation at https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-docs/src/docs/asciidoc/application-properties.adoc?plain=1#L32 is generated automatically.