KafkaMetadataLog¶
KafkaMetadataLog
is a ReplicatedLog
.
Creating Instance¶
KafkaMetadataLog
takes the following to be created:
- UnifiedLog
-
Time
-
Scheduler
- Snapshots
-
TopicPartition
-
MetadataLogConfig
KafkaMetadataLog
is created using apply utility.
Creating KafkaMetadataLog¶
apply(
topicPartition: TopicPartition,
topicId: Uuid,
dataDir: File,
time: Time,
scheduler: Scheduler,
config: MetadataLogConfig): KafkaMetadataLog
apply
...FIXME
apply
is used when:
KafkaRaftManager
is requested to buildMetadataLog