Kafka does not select a partition leader using the zookeeper API; in fact, the first replica in a live replica destination will be selected by the leader for each partition.
As for the main / subordinate things, as I know, many open sources have already replaced the old "master / slave" terminology with leader / replica or primary / replica, so basically they are the same.
source
share