I am trying to reset offset of a specific partition of a kafka topic but i did not find any command.
I was able to reset offset of all the partition of a topic using the below command but i want to reset offset only for a specific partitions.
Command which worked for all partitions
kafka-consumer-groups.sh -- bootstap-server localhost:1111 -- command-config <file> -- group <group> -- topic <topic> -- reset-offset -- shift-by -1
The above command doesnt accept partition, and resets for all partitions. How can i reset only specific partition.