David Jacot created KAFKA-10100:
-----------------------------------

             Summary: LiveLeaders field in LeaderAndIsrRequest is not used 
anymore
                 Key: KAFKA-10100
                 URL: https://issues.apache.org/jira/browse/KAFKA-10100
             Project: Kafka
          Issue Type: Improvement
            Reporter: David Jacot
            Assignee: David Jacot


We have noticed that the `LiveLeaders` field in the LeaderAndIsrRequest is not 
used anywhere but still populated by the controller.

It seems that that field was introduced in AK `0.8.0` and was supposed to be 
removed in AK `0.8.1`: 
[https://github.com/apache/kafka/blob/0.8.0/core/src/main/scala/kafka/cluster/Partition.scala#L194.]

I think that we can safely deprecate the field and stop populating it for all 
versions > 0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to