[ 
https://issues.apache.org/jira/browse/KAFKA-16286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

José Armando García Sancio updated KAFKA-16286:
-----------------------------------------------
    Description: 
If a listener registers with RaftClient after the KRaft replica has transition 
to follower it will not get notified of the current leader until it has 
transitioned to another state.

In a stable cluster the listeners that are not the leader (inactive controllers 
and brokers) will only get notified when then leader changes.

  was:
If a listener register with RaftClient after the KRaft replica has transition 
to follower it will not get notified of the current leader until it has 
transitioned to another state.

In a stable cluster the listeners that are not the active leader (inactive 
controllers and brokers) will only get notified when then leader changes.


> KRaft doesn't always notify listener of latest leader
> -----------------------------------------------------
>
>                 Key: KAFKA-16286
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16286
>             Project: Kafka
>          Issue Type: Bug
>          Components: kraft
>            Reporter: José Armando García Sancio
>            Assignee: José Armando García Sancio
>            Priority: Major
>
> If a listener registers with RaftClient after the KRaft replica has 
> transition to follower it will not get notified of the current leader until 
> it has transitioned to another state.
> In a stable cluster the listeners that are not the leader (inactive 
> controllers and brokers) will only get notified when then leader changes.



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

Reply via email to