public class TierTopicInitLeader extends AbstractTierMetadata
| Constructor and Description |
|---|
TierTopicInitLeader(TopicIdPartition topicIdPartition,
InitLeader metadata) |
TierTopicInitLeader(TopicIdPartition topicIdPartition,
int tierEpoch,
UUID messageId,
int brokerId) |
| Modifier and Type | Method and Description |
|---|---|
int |
brokerId() |
static int |
initialBufferSize()
The initial buffer size to use when constructing the FlatBuffer message.
|
UUID |
messageId()
Get a unique id for this message.
|
ByteBuffer |
payloadBuffer() |
OffsetAndEpoch |
stateOffsetAndEpoch()
The lastMaterializedOffsetAndEpoch for the tier partition state at the time this metadata was generated.
|
int |
tierEpoch()
tierEpoch for the tier metadata
|
TopicIdPartition |
topicIdPartition()
Topic-partition corresponding to this tier metadata.
|
String |
toString() |
TierRecordType |
type() |
deserialize, deserialize, deserializeKey, deserializeKey, equals, getTypeId, hashCode, messageIdAsBase64, serializeKey, serializeValuepublic TierTopicInitLeader(TopicIdPartition topicIdPartition, int tierEpoch, UUID messageId, int brokerId)
public TierTopicInitLeader(TopicIdPartition topicIdPartition, InitLeader metadata)
public static int initialBufferSize()
public TierRecordType type()
type in class AbstractTierMetadatapublic ByteBuffer payloadBuffer()
payloadBuffer in class AbstractTierMetadatapublic UUID messageId()
AbstractTierMetadatamessageId in class AbstractTierMetadatapublic TopicIdPartition topicIdPartition()
AbstractTierMetadatatopicIdPartition in class AbstractTierMetadatapublic int tierEpoch()
AbstractTierMetadatatierEpoch in class AbstractTierMetadatapublic OffsetAndEpoch stateOffsetAndEpoch()
AbstractTierMetadatastateOffsetAndEpoch in class AbstractTierMetadatapublic int brokerId()