public class TierTopicInitLeader extends AbstractTierMetadata
Constructor and Description |
---|
TierTopicInitLeader(TopicIdPartition topicIdPartition,
InitLeader metadata) |
TierTopicInitLeader(TopicIdPartition topicIdPartition,
int tierEpoch,
java.util.UUID messageId,
int brokerId) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId() |
java.util.UUID |
messageId()
Get a unique id for this message.
|
java.nio.ByteBuffer |
payloadBuffer() |
int |
tierEpoch()
tierEpoch for the tier metadata
|
TopicIdPartition |
topicIdPartition()
Topic-partition corresponding to this tier metadata.
|
java.lang.String |
toString() |
TierRecordType |
type() |
deserialize, deserialize, deserializeKey, deserializeKey, equals, getTypeId, hashCode, messageIdAsBase64, serializeKey, serializeValue
public TierTopicInitLeader(TopicIdPartition topicIdPartition, int tierEpoch, java.util.UUID messageId, int brokerId)
public TierTopicInitLeader(TopicIdPartition topicIdPartition, InitLeader metadata)
public TierRecordType type()
type
in class AbstractTierMetadata
public java.nio.ByteBuffer payloadBuffer()
payloadBuffer
in class AbstractTierMetadata
public java.util.UUID messageId()
AbstractTierMetadata
messageId
in class AbstractTierMetadata
public TopicIdPartition topicIdPartition()
AbstractTierMetadata
topicIdPartition
in class AbstractTierMetadata
public int tierEpoch()
AbstractTierMetadata
tierEpoch
in class AbstractTierMetadata
public int brokerId()
public java.lang.String toString()
toString
in class java.lang.Object