Skip to content

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

Merged
kenhys merged 1 commit intofluent:masterfrom
dipendra-singh:add_target_topics
Aug 2, 2024
Merged

out_kafka2: Broker pool to take care of fetching metadata#503
kenhys merged 1 commit intofluent:masterfrom
dipendra-singh:add_target_topics

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

@github-actions
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
@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

Comments