I want to reset the offset of kafka consumer group by timestamp. But when I am using following command:
./kafka-consumer-groups.sh --bootstrap-server localhost:9092 --reset-offsets --to-datetime 2017-11-1907:52:43:00:000 --group <group_name> --topic <topic_name> --execute
I am getting the following error message:
Note: This will only show information about consumers that use the Java consumer API (non-ZooKeeper-based consumers).
how to reset offset according to time