public class KafkaStandaloneGenerator extends StandaloneThreadedGenerator
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
BROKER_ADDRESS |
static int |
NUM_PARTITIONS |
static String |
TOPIC |
| 构造器和说明 |
|---|
KafkaStandaloneGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
main(String[] args)
Entry point to the kafka data producer.
|
runGeneratorpublic static final int NUM_PARTITIONS
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.