use of org.apache.bookkeeper.clients.impl.internal.LocationClientImpl in project bookkeeper by apache.
the class LocationClientTest method doSetup.
@Override
protected void doSetup() throws Exception {
scheduler = OrderedScheduler.newSchedulerBuilder().name("location-client-test").numThreads(1).build();
StorageClientSettings settings = StorageClientSettings.newBuilder().addEndpoints(cluster.getRpcEndpoints().toArray(new Endpoint[cluster.getRpcEndpoints().size()])).usePlaintext(true).build();
client = new LocationClientImpl(settings, scheduler);
}
Aggregations