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

GROUP-91 Missing Events - RabbitMQ Fan-Out Misconfiguration #20

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

makmn1
Copy link
Member

@makmn1 makmn1 commented Mar 1, 2024

Description of Changes

Issue noticed in production where a client would not receive all relevant events. Upon further investigating the RabbitMQ exchange, it looks like consumers are sharing one queue, instead of each having their own which is the intended behavior. This change assigns a random identifier suffix to each instance's configured queue, which Spring Cloud Stream will create on startup.
The random value used is auto-generated and injected by Spring Boot.

Concerns

Something like this should ideally be caught by automated testing. For example, we should run a simulated testing environment with multiple users, and several events (in the order of 100s) to expect. The environment should be setup such that there are multiple replicas of services to test the distributed nature of cloud native applications. That deserves its own issue, available here.

@makmn1 makmn1 added the bug Something isn't working label Mar 1, 2024
@makmn1 makmn1 self-assigned this Mar 1, 2024
@makmn1 makmn1 merged commit 63d932e into main Mar 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant