Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed analysis. I managed to reproduce the behavior locally. You should use the EnvironmentBuilder#maxConsumersByConnection(int) method to avoid having 255 consumers per connection. This default is OK for an application with consumers that does not consume from the same stream.

The example combines several factors that combined trigger this issue (255 consumers per connection by default, only 1 node, all consumers on the same, 300 consumers, which can be considered a significant amount for 1 connection). I would not consider this example completely realistic though. If you are testing RabbitMQ streams for a project, you are welcome to share more about your use case so we…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@szsun
Comment options

@kjnilsson
Comment options

@acogoluegnes
Comment options

@szsun
Comment options

@acogoluegnes
Comment options

Answer selected by acogoluegnes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #862 on October 20, 2025 15:11.