Skip to content

Kafka leader ordering #82

@srinivas-d-12

Description

@srinivas-d-12

Hello , I am a little confused with kafka leader ship reordering.
if new_leader is None:
for replica in partition.replicas:
leader_ratio = leaders[replica.id] / replica.num_partitions() -> will this not be most of the times 0 hence it is not balanced. What is the logic behind this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions