Decrease Consumers

This script is used to decrease the number of running Consumers for a given Consumer Group Name, Topic, and Application Node. It applies only till the current application instance is running.

Configure the arguments and run the following script in the Event tables in the AAI Config Schema:

./consumerdecrease.sh <TOPIC_NAME> <CONSUMERGRPNAME> <DECREASEBY> <HOSTNAME:PORT>

Table C-4 Argument Description Table for Decrease Consumers

Argument Description
TOPIC_NAME The name of the Topic.
CONSUMERGRPNAME The name of the Consumer’s Group.
DECREASEBY The number of Consumers that you want to decrease.
HOSTNAME:PORT The details of the server on which Kafka is installed.

For example:

./consumerdecrease.sh ECM_TF_SWIFT ECM Users 15 192.0.2.1:7780