Hi Andrew, thanks for the KIP! LM1: about the --from-file option, the KIP shows the example with a single group, but will it support loading multiple groups from a single file too? (or loading a single group but from a file with multiple groups?). The trick is thst the consumer tool allows exporting multiple groups to a single file with the --all-groups option (so I imagine it may be used with files with several groups). If the intention is to support multiple groups as part of this KIP, I imagine the parsing and error handling behaviour will just be the same as when the consumer-group tool resets from a file containing multiple groups? (or no multi group support for now?)
LM2: about the --to-offset option, several things could go wrong, I imagine the behaviour will just be the same as in the consumer-group tool when resetting to a negative offset, or an offset out of range? Thanks! Lianet On Thu, Apr 30, 2026 at 2:48 PM Andrew Schofield <[email protected]> wrote: > Hi Apoorv, > Thanks for your review. > > AM1: I can add --export, but I will need to add --to-current as well. I'll > update the KIP. > > Thanks, > Andrew > > On 2026/04/30 10:59:42 Apoorv Mittal wrote: > > Hi Andrew, > > Thanks for the KIP. It will be a great addition. I have one query: > > > > AM1: Does --export also make sense for share groups as well? The current > > definition in KIP works for consumer group -> share group migration, but > > without --export on share groups, user cannot do: > > - Share group -> share group migration (e.g., renaming a group) > > - Share group -> consumer group rollback (if the migration doesn't go > > well) > > > > Hence, KIP should either add --export to share groups or explicitly state > > why it's being deferred? Please let me know your thoughts. > > > > Regards, > > Apoorv Mittal > > > > > > On Thu, Apr 23, 2026 at 6:18 PM Andrew Schofield < > [email protected]> > > wrote: > > > > > Hi, > > > I’d like to start discussion for a new KIP which adds some new options > for > > > initialization of share groups. This makes it easier to migrate > > > applications from a consumer group to a share group from the committed > > > offsets of the consumer group. > > > > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-1323%3A+Initialization+of+share+group+offsets+from+a+specific+offset+or+a+file > > > > > > Thanks, > > > Andrew > > > > > >
