public class TridentKafkaClientTopologyNamedTopics extends Object
This example sets up a few topologies to put random strings in Kafka topics via the KafkaBolt, and shows how to set up a Trident topology that reads from some Kafka topics using the KafkaSpout.
| Constructor and Description | 
|---|
| TridentKafkaClientTopologyNamedTopics() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | main(String[] args) | 
| protected KafkaTridentSpoutConfig<String,String> | newKafkaSpoutConfig(String bootstrapServers) | 
| protected void | run(String[] args) | 
public TridentKafkaClientTopologyNamedTopics()
protected KafkaTridentSpoutConfig<String,String> newKafkaSpoutConfig(String bootstrapServers)
protected void run(String[] args) throws AlreadyAliveException, InvalidTopologyException, AuthorizationException, InterruptedException
Copyright © 2022 The Apache Software Foundation. All rights reserved.