fetchFromLeader(
fetchRequest: FetchRequest.Builder): Seq[(TopicPartition, FetchData)]
ReplicaAlterLogDirsThread
ReplicaAlterLogDirsThread
is a fetcher thread of ReplicaAlterLogDirsManager.
ReplicaAlterLogDirsThread
is created when ReplicaAlterLogDirsManager
is requested to create a fetcher thread.
ReplicaAlterLogDirsThread
uses the following configuration properties.
Name | Description |
---|---|
Used for fetchBackOffMs |
|
Used to buildFetchForPartition |
|
Used to buildFetchForPartition |
|
Used to buildFetchForPartition |
ReplicaAlterLogDirsThread
has isOffsetForLeaderEpochSupported flag always enabled (true
).
Creating ReplicaAlterLogDirsThread Instance
ReplicaAlterLogDirsThread
takes the following to be created:
ReplicaAlterLogDirsThread
initializes the internal registries and counters.
fetchFromLeader
Method
Note
|
fetchFromLeader is part of the AbstractFetcherThread contract to…FIXME.
|
fetchFromLeader
…FIXME
processPartitionData
Method
processPartitionData(
topicPartition: TopicPartition,
fetchOffset: Long,
partitionData: PartitionData[Records]): Option[LogAppendInfo]
Note
|
processPartitionData is part of the AbstractFetcherThread Contract to…FIXME.
|
processPartitionData
…FIXME
truncateFullyAndStartAt
Method
truncateFullyAndStartAt(
topicPartition: TopicPartition,
offset: Long): Unit
Note
|
truncateFullyAndStartAt is part of the AbstractFetcherThread Contract to…FIXME.
|
truncateFullyAndStartAt
…FIXME
truncate
Method
truncate(
topicPartition: TopicPartition,
truncationState: OffsetTruncationState): Unit
Note
|
truncate is part of the AbstractFetcherThread Contract to…FIXME.
|
truncate
…FIXME
buildFetch
Method
buildFetch(
partitionMap: Map[TopicPartition, PartitionFetchState]
): ResultWithPartitions[Option[FetchRequest.Builder]]
Note
|
buildFetch is part of the AbstractFetcherThread Contract to…FIXME
|
buildFetch
…FIXME
buildFetchForPartition
Internal Method
buildFetchForPartition(
tp: TopicPartition,
fetchState: PartitionFetchState): ResultWithPartitions[Option[FetchRequest.Builder]]
buildFetchForPartition
…FIXME
Note
|
buildFetchForPartition is used when ReplicaAlterLogDirsThread is requested to buildFetch.
|