Hi Kirk Ture! I'm sorry I didn't explain clearly, groupA is new and it only subscribes to some topics, I don't know how to subscribe to all topics, kakfa cli doesn't seem to have such a feature.I'm sorry I didn't explain clearly, groupA is new and it only subscribes to some topics, I don't know how to subscribe to all topics, kakfa cli doesn't seem to have such a feature.
________________________________ Hi! Did consumer group groupA exist before the --reset-offsets operation was performed? Thanks, Kirk On Fri, May 5, 2023, at 3:18 AM, choi ewain wrote: > Hello All. > > I am a newbie learning kakfa. > > I have 1000+topics in my kakfa, each topic contains 14 days of data, about > 120,000 messages. > > I created a new consumer group: groupA, and executed the command to reset the > offset. > > sh kafka-consumer-groups.sh --reset-offsets --execute --to-datetime > "2023-05-03T00:00:00.000" --group groupA --bootstrap-server kfk-data- > 001:9092,kfk-data-002:9092,kfk-data-003:9092 --all-topics > > But it didn't work as I expected, I tried to use groupA pull data in Java, > and it still consumes the starting data for each topics. > > How should I properly create the group and reset the offset from all topics? > > Thanks. > > Ewain Choi. > >