Stop Consumers

This shell script is used to stop consumers for a given Application Node, Consumer ID (Consumer Group Name), and Topic. After the servers are restarted, the consumers are initialized and instantiated.

If you pass ALL in place of the consumergroupname argument, it results in the stop of all Consumers in the given Application Node and Topic.

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

./stopconsumers.sh <TOPIC_NAME> <CONSUMERGRPNAME>/<ALL> <HOSTNAME:PORT>

Table C-10 Argument Description Table for Stop Consumers

Argument Description
TOPIC_NAME The name of the Topic.
CONSUMERGRPNAME The name of the Consumer Group.
ALL This value is passed to select all Consumers.
HOSTNAME:PORT The details of the server on which Kafka is installed.

For example:

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