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

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

dipendra-singh
Copy link
Contributor

@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

@ashie ashie self-requested a review December 6, 2023 08:31
@dipendra-singh
Copy link
Contributor Author

@ashie Requesting review here

Copy link

This PR has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this PR will be closed in 30 days

@github-actions github-actions bot added the stale label Jul 30, 2024
@ashie ashie removed the stale label Jul 30, 2024
@ashie ashie modified the milestones: v0.20.0, v0.19.3 Jul 30, 2024
@kenhys kenhys force-pushed the add_target_topics branch from cd4df53 to b0f3a10 Compare July 31, 2024 05:24
@kenhys
Copy link
Contributor

kenhys commented Aug 2, 2024

LGTM.

@kenhys kenhys merged commit 273c172 into fluent:master Aug 2, 2024
19 checks passed
@kenhys
Copy link
Contributor

kenhys commented Aug 2, 2024

Thanks @dipendra-singh !

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.

3 participants