Open dyrnq opened 10 months ago
kafka-consumer-groups.sh --bootstrap-server localhost:9092 --delete --group group-1
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf-8)
Error: Deletion of some consumer groups failed:
* Group 'group-1' could not be deleted due to: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.GroupNotEmptyException: The group is not empty.
解决by: 要把程序中的consumer停掉,然后再执行这句。