Closed dipendra-singh closed 3 months ago
@ashie Requesting review here
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
LGTM.
Thanks @dipendra-singh !
Which issue(s) this PR fixes: https://github.com/fluent/fluent-plugin-kafka/issues/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