Skip to content

Conversation

@acogoluegnes
Copy link
Contributor

A stream connection waited artificially before retrying to send a chunk after Osiris returned an end_of_stream result. It was initially to let some messages arrive in the stream.

This wait time does not seem necessary and can be even counter productive. A connection with many consumers on the same stream that gets published to can get many notifications from Osiris and ended up waiting for each consumers. This can make the connection blocks for several seconds and unable to perform other operations like simple RPC.

This commit removes the wait time.

References rabbitmq/rabbitmq-stream-java-client#863

A stream connection waited artificially before retrying to send a chunk
after Osiris returned an end_of_stream result. It was initially to let
some messages arrive in the stream.

This wait time does not seem necessary and can be even counter
productive. A connection with many consumers on the same stream that
gets published to can get many notifications from Osiris and ended up
waiting for each consumers. This can make the connection blocks for
several seconds and unable to perform other operations like simple RPC.

This commit removes the wait time.

References rabbitmq/rabbitmq-stream-java-client#863
@acogoluegnes acogoluegnes added this to the 4.3.0 milestone Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant