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

reuse rabbitMQ connection and channel #27

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

dcherix
Copy link
Contributor

@dcherix dcherix commented Aug 31, 2022

Problem:

Our rabbitMQ cluster is experiencing issues probably due to too many and too frequent user connections.

Solution:

Reuse the connection and channel of the rabbitMQ client to avoid to have to connect on every event.

@aznamier aznamier merged commit e889d9c into aznamier:master Nov 9, 2022
@aznamier
Copy link
Owner

aznamier commented Nov 9, 2022

Amazing, thank you!

dcherix added a commit to dcherix/keycloak-event-listener-rabbitmq that referenced this pull request May 4, 2023
# Conflicts:
#	src/main/java/com/github/aznamier/keycloak/event/provider/RabbitMqEventListenerProvider.java
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