log4j.logger.kafka.cluster.Replica=TRACE
Replica
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
Method
logEndOffset: Long
logEndOffset
requests the current LogOffsetMetadata for the message offset.
Note
|
|
lastCaughtUpTimeMs
Method
lastCaughtUpTimeMs: Long
lastCaughtUpTimeMs
…FIXME
Note
|
lastCaughtUpTimeMs is used when…FIXME
|
logEndOffsetMetadata
Method
logEndOffsetMetadata: LogOffsetMetadata
logEndOffsetMetadata
…FIXME
Note
|
logEndOffsetMetadata is used when…FIXME
|
resetLastCaughtUpTime
Method
resetLastCaughtUpTime(
curLeaderLogEndOffset: Long,
curTimeMs: Long,
lastCaughtUpTimeMs: Long): Unit
resetLastCaughtUpTime
…FIXME
Note
|
resetLastCaughtUpTime is used when…FIXME
|
Creating Replica Instance
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
Method
convertHWToLocalOffsetMetadata(): Unit
convertHWToLocalOffsetMetadata
…FIXME
Note
|
convertHWToLocalOffsetMetadata is used when…FIXME
|