Replica
(aka partition replica) is…FIXME
Replica
is a local partition replica when the replica ID is the local broker ID.
Replica
is a future local replica when the replica ID is -3
.
Replica
is created exclusively when Partition
is requested to getOrCreateReplica.
Tip
|
Enable Add the following line to
Refer to Logging. |
logEndOffset: Long
logEndOffset
requests the current LogOffsetMetadata for the message offset.
Note
|
|
lastCaughtUpTimeMs: Long
lastCaughtUpTimeMs
…FIXME
Note
|
lastCaughtUpTimeMs is used when…FIXME
|
logEndOffsetMetadata: LogOffsetMetadata
logEndOffsetMetadata
…FIXME
Note
|
logEndOffsetMetadata is used when…FIXME
|
resetLastCaughtUpTime(
curLeaderLogEndOffset: Long,
curTimeMs: Long,
lastCaughtUpTimeMs: Long): Unit
resetLastCaughtUpTime
…FIXME
Note
|
resetLastCaughtUpTime is used when…FIXME
|
Replica
takes the following to be created:
-
Optional Log (default:
None
)
Replica
initializes the internal registries and counters.
While being created, Replica
prints out the following INFO message to the logs and requests the Log to onHighWatermarkIncremented with the given initialHighWatermarkValue.
Replica loaded for partition [topicPartition] with initial high watermark [initialHighWatermarkValue]
convertHWToLocalOffsetMetadata(): Unit
convertHWToLocalOffsetMetadata
…FIXME
Note
|
convertHWToLocalOffsetMetadata is used when…FIXME
|
updateFetchState(
followerFetchOffsetMetadata: LogOffsetMetadata,
followerStartOffset: Long,
followerFetchTimeMs: Long,
leaderEndOffset: Long,
lastSentHighwatermark: Long): Unit
updateFetchState
…FIXME
Note
|
updateFetchState is used when…FIXME
|