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

out_kafka2: Broker pool to take care of fetching metadata #503

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dipendra-singh
Copy link

@dipendra-singh dipendra-singh commented Dec 1, 2023

Which issue(s) this PR fixes:
#502

What this PR does / why we need it:
On enabling the get_kafka_client_log true, this can be figured out the leader of partitions is being queried multiple times: here
this metadata if refreshed by broker pool (here). Adding this in producer would resolve the issue.
additionally, this is a part of an optimisation done on ruby-kafka.

Test cases passing post the changes.

Docs Changes:
NA

Signed-off-by: Dipendra Singh <dipendra.singh@rubrik.com>
@dipendra-singh
Copy link
Author

@ashie Requesting review here

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.

None yet

1 participant