curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Capwell <dcapw...@gmail.com>
Subject Exhibitor integration question
Date Wed, 15 May 2013 03:17:42 GMT
I am wondering if I am missing something.  I use Exhibitor integration like
follows:

CuratorFrameworkFactory.builder()
        .retryPolicy(retryPolicy)
        .ensembleProvider(new ExhibitorEnsembleProvider(
            exhibitors,
            new DefaultExhibitorRestClient(),
            baseUri,
            poolingInMills,
            retryPolicy))
        .build();

I notice that the connection string is not valid for 60 seconds.  I then
tried something like this:

CuratorFrameworkFactory.builder()
        .retryPolicy(retryPolicy)
        .connectString(backupString)
        .ensembleProvider(new ExhibitorEnsembleProvider(
            exhibitors,
            new DefaultExhibitorRestClient(),
            baseUri,
            poolingInMills,
            retryPolicy))
        .build();

and it seems that I fall into the same issue.  Am i configuring this wrong?

Mime
View raw message