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
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RemoteLogMetadata
protected RemoteLogMetadata(int brokerId, long eventTimestampMs)
-
-
Method Details
-
eventTimestampMs
public long eventTimestampMs()- Returns:
- Epoch time in milli seconds 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.
-