Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Nov 18, 2025

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


This is an automatic backport of pull request #14766 done by Mergify.

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

(cherry picked from commit 193b04d)
@acogoluegnes acogoluegnes added this to the 4.2.1 milestone Nov 18, 2025
@acogoluegnes acogoluegnes merged commit 350ec81 into v4.2.x Nov 18, 2025
573 of 575 checks passed
@acogoluegnes acogoluegnes deleted the mergify/bp/v4.2.x/pr-14766 branch November 18, 2025 15:13
@michaelklishin michaelklishin modified the milestones: 4.2.1, 4.2.2 Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants