Class RemoteLogSegmentId
java.lang.Object
org.apache.kafka.server.log.remote.storage.RemoteLogSegmentId
@Evolving public class RemoteLogSegmentId extends Object
This class represents a universally unique identifier associated to a topic partition's log segment. This will be
regenerated for every attempt of copying a specific log segment in
RemoteStorageManager.copyLogSegmentData(RemoteLogSegmentMetadata, LogSegmentData)
.
Once it is stored in remote storage, it is used to access that segment later from remote log metadata storage.-
Constructor Summary
Constructors Constructor Description RemoteLogSegmentId(TopicIdPartition topicIdPartition, Uuid id)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
Uuid
id()
TopicIdPartition
topicIdPartition()
String
toString()
-
Constructor Details
-
RemoteLogSegmentId
-
-
Method Details