Save Consumer Properties
This script adds or updates Consumer Properties for a given Consumer ID (Consumer Group). The Properties are used to fine-tune the functioning of the Kafka Consumers.
The Shell Script accepts Consumer ID, Kafka Consumer Property Name, Value, and Datatype.
The properties have to be as given by the Kafka Consumer API. See the following link for a list of properties:
https://docs.confluent.io/platform/current/installation/configuration/consumer-configs.html
Configure the arguments and Run the following script in the Event tables in the AAI Config Schema:
./saveConsumerProperties.sh <CONSUMER_ID> <CONSUMER_PROP_NAME>
<CONSUMER_PROP_VALUE> <CONSUMER_PROP_DATATYPE>
Table C-7 Argument Description Table for Save Consumer Properties
Argument | Description |
---|---|
CONSUMER_ID | The Unique Identifier of the Consumer. |
CONSUMER_PROP_NAME | The name of the Consumer Property that is related to the selected Consumer ID. |
CONSUMER_PROP_VALUE | The value of the Consumer Property. |
CONSUMER_PROP_DATATYPE | The data type of the Consumer Property. |
For example:
./saveConsumerProperties.sh 1612 ECM_WR WRITE CHAR