multiElection, logSaver, kafkaClientService, zkClientService));
completion.set(null);
}
private PartitionChangeHandler createPartitionChangeHandler(final PartitionChangeHandler delegate) {
return new PartitionChangeHandler() {
@Override
public void partitionsChanged(Set<Integer> partitions) {
try {
delegate.partitionsChanged(partitions);
} catch (Throwable t) {