Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Load Balancer Health Check #370

@pjrm

Description

@pjrm

I'm using an load balancer in front of the Zookeeper Nodes and for health check i'm only using the client port 2181.

The problem is when exhibitor starts at the first time, Zookeeper run as standalone mode, which will indicate on ELB that it's able to receive connections. I only want to accept connections when the node is available and ready in the cluster.

To achieve this I could use the endpoint "exhibitor/v1/cluster/state" which gives the state of the current ZK node, but this endpoint always return "200 - OK".

How do you guarantee that the ZK is healthy (joined in the cluster) ?

Thanks in advance

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