Are kafka leaders partitions themselves or are they brokers? My initial understanding was that they were partitions which acted as read/write agents which then deffered their value to ISRs.
However recently I have been hearing them mentioned as though they happen at the "broker" level, hence my confusion.
I know there are other posts which aim to answer this question, but the answers there did not help.
All topic-partitions in Kafka has one leader and if replication factor is greater than 1, leader has follower(s). Partition leaders can be checked with this command:
In the output of this command broker ids of partition leaders is shown as
leader: xx