public class ConstSpoutOnlyTopo extends Object
Spout generates a stream of a fixed string.
Modifier and Type | Field and Description |
---|---|
static String |
SPOUT_ID |
static String |
TOPOLOGY_NAME |
Constructor and Description |
---|
ConstSpoutOnlyTopo() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
ConstSpout only topology (No bolts).
|
public static final String TOPOLOGY_NAME
public static final String SPOUT_ID
Copyright © 2023 The Apache Software Foundation. All rights reserved.