public class TridentKafkaConsumerTopology extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
TridentKafkaConsumerTopology() |
Modifier and Type | Method and Description |
---|---|
static StormTopology |
newTopology(ITridentDataSource tridentSpout)
|
static StormTopology |
newTopology(org.apache.storm.LocalDRPC drpc,
ITridentDataSource tridentSpout) |
public static StormTopology newTopology(ITridentDataSource tridentSpout)
public static StormTopology newTopology(org.apache.storm.LocalDRPC drpc, ITridentDataSource tridentSpout)
drpc
- The DRPC stream to be used in querying the word counts. Can be null in distributed modeTransactionalTridentKafkaSpout
computes the word count and stores it in a MemoryMapState
.Copyright © 2022 The Apache Software Foundation. All Rights Reserved.