jsancio commented on PR #12274: URL: https://github.com/apache/kafka/pull/12274#issuecomment-1187345352
> This is a good idea, however, the offset of each registration record is a soft state(not persist to metadata log) @dengziming The offset is persistent along with the record. This offset is provided to the inactive controllers in handleCommit. When processing handleCommit the inactive controllers can use the `Batch::lastOffset` of the batch that contains the registration record. When processing handleSnapshot the inactive controllers can use the `SnapshotReader::lastContainedLogOffset` of the snapshot if the snapshot contains registration records. What do you think? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
