Relate 360
- Relate 360 10.1 HotFix 1
- All Products
kafka-consumer-groups.sh --bootstrap-server <list_of_kafka_brokers_with_ports> --group <consumer_group_name> --topic <kafka_input_topic> --reset-offsets --to-earliest|--to-latest -–execute
Option
| Argument
| Description
|
---|---|---|
--bootstrap-server
| list_of_kafka_brokers_with_ports
| Comma-separated list of Kafka brokers and their port numbers. For example,
broker1:9092,broker2:9092 .
|
--group
| consumer_group_name
| Name of the Kafka consumer group. The name is based on the Spark instance name and uses the following format:
For example, if the instance name is
BDRMRTIngestSpark , then the consumer group name is
BDRMRTIngestSpark-spark-bdrm .
|
--topic
| kafka_input_topic
| Name of the topic to which Kafka publishes the input data stream.
|
--reset-offsets
| Resets the offset position for the Spark instance.
| |
--to-earliest | --to-latest
| Indicates the offset position to set.
Use one of the following options:
| |
--execute
| Runs the script.
|