Skip to content

Conversation

domodwyer
Copy link
Contributor

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 requested a review from crepererum August 11, 2022 16:52
@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