Hi team,

I have a scenario where I want to write new offset for a list of topics on
demand. The list of topics is unknown until runtime and the interval
between each commit is undetermined. what would be the best way to do so?

One way I can think of is to create a new consumer and call
commitSync(offsets) every time I want to commit. But it seems taking too
much time to bootstrap the consumer. is there a lighter way to achieve
this?

Reply via email to