Package | Description |
---|---|
org.apache.twill.kafka.client |
This package provides Kafka client interfaces.
|
Modifier and Type | Method and Description |
---|---|
BrokerInfo |
BrokerService.getLeader(String topic,
int partition)
Returns the broker information of the current leader of the given topic and partition.
|
Modifier and Type | Method and Description |
---|---|
Iterable<BrokerInfo> |
BrokerService.getBrokers()
Returns a live iterable that gives information for all the known brokers.
|
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.