Skip to content

Connection problem when server there is no server/cluster #3

@jsevellec

Description

@jsevellec

Hi,

If there is no zookeeper server, when trying to connect with :
ZkSessionManager.initializeInstance(HOST, sessionTimeout, MAX_CONNECT_ATTEMPTS);

MAX_CONNECT_ATTEMPTS does'nt seem to work.

The code loop infinitely inside initializeInstance() and it's impossible to make something.

Is there any way to be notified when connection fail when a client start?

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