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

fix: pre-warm cache broker connections #166

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Conversation

domodwyer
Copy link
Member

Changes the func called in the pre-warm step introduced in #165 - get_leader() discovers the leader, but only get() caches the connection!

Doh!


  • fix: pre-warm cache broker connections (64211b5)

    PR #165 added leader discovery at initialisation time and intended to also
    cache the broker connection but called the wrong func.
    
    This commit calls get() which establishes & caches the broker connection.
    

PR #165 added leader discovery at initialisation time and intended to
also cache the broker connection but called the wrong func.

This commit calls get() which establishes & caches the broker
connection.
@domodwyer domodwyer self-assigned this Aug 11, 2022
@domodwyer domodwyer merged commit 59295be into main Aug 12, 2022
@domodwyer domodwyer deleted the dom/fix-pre-warm-connections branch August 12, 2022 08:05
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