Class RemoteLogMetadata
java.lang.Object
org.apache.kafka.server.log.remote.storage.RemoteLogMetadata
- Direct Known Subclasses:
RemoteLogSegmentMetadata
,RemoteLogSegmentMetadataUpdate
,RemotePartitionDeleteMetadata
Base class for remote log metadata objects like
RemoteLogSegmentMetadata
, RemoteLogSegmentMetadataUpdate
,
and RemotePartitionDeleteMetadata
.-
Method Summary
-
Method Details
-
eventTimestampMs
public long eventTimestampMs()- Returns:
- Epoch time in milliseconds at which this event is occurred.
-
brokerId
public int brokerId()- Returns:
- Broker id from which this event is generated.
-
topicIdPartition
- Returns:
- TopicIdPartition for which this event is generated.
-