Description
Right now in java-client, producer-batches backoff upto retry.backoff.ms(100ms by default). This Jira proposes that backoff should be skipped if client knows of a newer-leader for the partition in a sub-sequent retry(typically through refresh of parition-metadata via the Metadata RPC). This would help improve the latency of the produce-request around when partition leadership changes.
Attachments
Issue Links
- Dependency
-
KAFKA-15627 KIP-951, Java client changes to incorporate the leader discovery optimisations
- Resolved
-
KAFKA-15970 KIP-951, port newly added tests in FetcherTest.java to FetchRequestManagerTest.ajva
- Resolved
- is a child of
-
KAFKA-15868 KIP-951 - Leader discovery optimisations for the client
- Closed
- is cloned by
-
KAFKA-15824 SubscriptionState's maybeValidatePositionForCurrentLeader should handle partition which isn't subscribed yet
- Resolved
-
KAFKA-16226 Java client: Performance regression in Trogdor benchmark with high partition counts
- Resolved
- links to