Jose Armando Garcia Sancio created KAFKA-13784:
--------------------------------------------------

             Summary: DescribeQuorum should return the current leader if the 
handling node is not the current leader
                 Key: KAFKA-13784
                 URL: https://issues.apache.org/jira/browse/KAFKA-13784
             Project: Kafka
          Issue Type: Bug
          Components: kraft
    Affects Versions: 3.2.0
            Reporter: Jose Armando Garcia Sancio
            Assignee: Jose Armando Garcia Sancio


For clients calling DescribeQuorum leader it is not possible for them to 
discover the current leader. If the request is sent to a node that is not the 
leader is simply replies with INVALID_REQUEST. KIP-595 mentions that it should 
instead reply with the current leader.

 

> f the response indicates that the intended node is not the current leader, 
>then check the response to see if the {{LeaderId}} has been set. If so, then 
>attempt to retry the request with the new leader.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to