You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Mayank Shekhar Narula (Jira)" <ji...@apache.org> on 2023/11/14 16:23:00 UTC

[jira] [Created] (KAFKA-15824) SubscriptionState's maybeValidatePositionForCurrentLeader should handle partition which isn't subscribed yet

Mayank Shekhar Narula created KAFKA-15824:
---------------------------------------------

             Summary: SubscriptionState's maybeValidatePositionForCurrentLeader should handle partition which isn't subscribed yet
                 Key: KAFKA-15824
                 URL: https://issues.apache.org/jira/browse/KAFKA-15824
             Project: Kafka
          Issue Type: Improvement
          Components: clients
            Reporter: Mayank Shekhar Narula
            Assignee: Mayank Shekhar Narula
             Fix For: 3.7.0, 3.6.1


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)