TaiJuWu opened a new pull request, #24261:
URL: https://github.com/apache/kafka/pull/24261

   Add `MirrorPartitionMetadata`, an immutable snapshot of the mirror metadata 
of a partition: the mirror state, state epoch, last mirror epoch and offset, 
error message, retry attempt and previous state.
   
   It is added to `server-common`, so that `core`, `metadata` and 
`mirror-coordinator` can use it without circular module dependencies.
   
   The field types follow the `__mirror_state` records: `retryAttempt` is a 
`short` as in `MirrorPartitionStateValue`, and `state` and `previousState` must 
not be null, with `UNKNOWN` used when not recorded.
   


-- 
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]

Reply via email to