Package | Description |
---|---|
org.apache.storm.kafka | |
org.apache.storm.kafka.trident |
Modifier and Type | Method and Description |
---|---|
GlobalPartitionInformation |
StaticHosts.getPartitionInformation() |
Modifier and Type | Method and Description |
---|---|
List<GlobalPartitionInformation> |
DynamicBrokersReader.getBrokerInfo()
Get all partitions with their current leaders
|
Modifier and Type | Method and Description |
---|---|
static List<Partition> |
KafkaUtils.calculatePartitionsForTask(List<GlobalPartitionInformation> partitons,
int totalTasks,
int taskIndex,
int taskId) |
Constructor and Description |
---|
StaticHosts(GlobalPartitionInformation partitionInformation) |
Modifier and Type | Method and Description |
---|---|
GlobalPartitionInformation |
ZkBrokerReader.getBrokerForTopic(String topic) |
GlobalPartitionInformation |
StaticBrokerReader.getBrokerForTopic(String topic) |
GlobalPartitionInformation |
IBrokerReader.getBrokerForTopic(String topic) |
Modifier and Type | Method and Description |
---|---|
IOpaquePartitionedTridentSpout.Emitter<List<GlobalPartitionInformation>,Partition,Map> |
TridentKafkaEmitter.asOpaqueEmitter() |
List<GlobalPartitionInformation> |
ZkBrokerReader.getAllBrokers() |
List<GlobalPartitionInformation> |
StaticBrokerReader.getAllBrokers() |
List<GlobalPartitionInformation> |
IBrokerReader.getAllBrokers() |
IOpaquePartitionedTridentSpout.Emitter<List<GlobalPartitionInformation>,Partition,Map> |
OpaqueTridentKafkaSpout.getEmitter(Map conf,
TopologyContext context)
Deprecated.
|
Constructor and Description |
---|
StaticBrokerReader(String topic,
GlobalPartitionInformation partitionInformation) |
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.