Save Producer Properties
This script adds or updates Consumer Properties for a given Producer ID. The properties are used to fine-tune the functioning of the Kafka Producer.
The Shell Script accepts Producer_ID, Kafka Producer Property Name, Value, and Datatype.
The properties have to as given by the Kafka Producer API. See the following link for a list of properties:
https://docs.confluent.io/platform/current/installation/configuration/producer-configs.html
Configure the arguments and run the following script in the Event tables in the AAI Config Schema:
./saveProducerProperties.sh <PRODUCER_ID> <PRODUCER_PROP_NAME>
<PRODUCER_PROP_VALUE> <PRODUCER_PROP_DATATYPE>
Table C-8 Argument Description Table for Save Producer Properties
Argument | Description |
---|---|
PRODUCER_ID | The Unique Identifier of the Producer. |
PRODUCER_PROP_NAME | The name of the Producer Property that is related to the selected Producer ID. |
PRODUCER_PROP_VALUE | The value of the Producer Property. |
PRODUCER_PROP_DATATYPE | The data type of the Producer Property. |
For example:
./saveProducerProperties.sh PROD1234 ECM_SWIFT_WR WRITE CHAR