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

Improve JMSPriority handling on the consumer side #139

Merged
merged 13 commits into from
May 6, 2024

Conversation

eolivelli
Copy link
Collaborator

@eolivelli eolivelli commented May 3, 2024

Modifications:

  • improve the internal implementation of MessagePriorityGrowableArrayBlockingQueue
  • set dynamically the receiverQueueSize on the Consumers depending on the priority of the partition

With this change the backlog is drained more quickly for the high priority partitions

@eolivelli eolivelli changed the title MessagePriorityGrowableArrayBlockingQueue sometimes doesn't work Improve JMSPriority handling on the consumer side May 6, 2024
@eolivelli eolivelli marked this pull request as ready for review May 6, 2024 08:54
@eolivelli eolivelli merged commit 68580e5 into master May 6, 2024
2 of 3 checks passed
@eolivelli eolivelli deleted the priority-order-test branch May 6, 2024 11:58
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.

2 participants