Skip to content

Wait until all partitions are ready AND healthy #329

@npepinpe

Description

@npepinpe

Is your feature request related to a problem? Please describe.

Typically, when you start a gateway, you want to wait until some partitions are ready to receive commands. If there are no leaders, then that will fail. Additionally, if the partition is unhealthy, then even though there is a leader, the command is likely to fail.

Describe the solution you'd like

Allow waiting until not only all partitions have leaders, but all partitions are healthy. The health status is provided in the topology response.

Describe alternatives you've considered

Users can send a topology request to poll until all partitions are healthy, but that's cumbersome since it may need to be done all the time in order to avoid flaky tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureNew user facing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions