Skip to content

Avoid division by 0 when computing partition #271

@acogoluegnes

Description

@acogoluegnes

partitions.get(Integer.remainderUnsigned(hashValue, partitions.size())));

The routing strategy should return the empty list if there is no partition.

The creation of the super stream producer could also fail if there's no partition at that time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions