Q. Which Kafka command lists the current consumer groups?
β
Correct Answer: (B)
kafka-consumer-groups.sh --list
Explanation: kafka-consumer-groups.sh --list lists all the consumer groups in the cluster.