I am running a data pipeline such that I read data from sql db into kafka topic through jdbc connect I sink this data in Elasticsearch using kafka sink connector for ES
I have a need to reset this pipeline. To that end I want to reset the consumer group that is listening on the jdbc connect topics. So I run the following command
kafka-consumer-groups --reset-offsets --to-earliest --all-topics --execute --group mygroup --bootstrap-server myserver:9092
But I get this error
Error: Assignments can only be reset if the group 'mygroup' is inactive, but the current state is Stable.
I stopped the connect to make the group inactive but that didnt work. So my question is, how do I make my group Inactive