Documentation
¶
Index ¶
- Variables
- type Assignment
- type BrokerRegistration
- func (*BrokerRegistration) Descriptor() ([]byte, []int)deprecated
- func (x *BrokerRegistration) GetBrokerId() string
- func (x *BrokerRegistration) GetHost() string
- func (x *BrokerRegistration) GetLastHeartbeat() string
- func (x *BrokerRegistration) GetPort() int32
- func (x *BrokerRegistration) GetRack() string
- func (x *BrokerRegistration) GetStartedAt() string
- func (x *BrokerRegistration) GetVersion() string
- func (*BrokerRegistration) ProtoMessage()
- func (x *BrokerRegistration) ProtoReflect() protoreflect.Message
- func (x *BrokerRegistration) Reset()
- func (x *BrokerRegistration) String() string
- type CommittedOffset
- func (*CommittedOffset) Descriptor() ([]byte, []int)deprecated
- func (x *CommittedOffset) GetCommittedAt() string
- func (x *CommittedOffset) GetLeaderEpoch() int32
- func (x *CommittedOffset) GetMetadata() string
- func (x *CommittedOffset) GetOffset() int64
- func (*CommittedOffset) ProtoMessage()
- func (x *CommittedOffset) ProtoReflect() protoreflect.Message
- func (x *CommittedOffset) Reset()
- func (x *CommittedOffset) String() string
- type ConsumerGroup
- func (*ConsumerGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ConsumerGroup) GetGenerationId() int32
- func (x *ConsumerGroup) GetGroupId() string
- func (x *ConsumerGroup) GetLeader() string
- func (x *ConsumerGroup) GetMembers() map[string]*GroupMember
- func (x *ConsumerGroup) GetProtocol() string
- func (x *ConsumerGroup) GetProtocolType() string
- func (x *ConsumerGroup) GetRebalanceTimeoutMs() int32
- func (x *ConsumerGroup) GetState() string
- func (*ConsumerGroup) ProtoMessage()
- func (x *ConsumerGroup) ProtoReflect() protoreflect.Message
- func (x *ConsumerGroup) Reset()
- func (x *ConsumerGroup) String() string
- type GroupMember
- func (*GroupMember) Descriptor() ([]byte, []int)deprecated
- func (x *GroupMember) GetAssignments() []*Assignment
- func (x *GroupMember) GetClientHost() string
- func (x *GroupMember) GetClientId() string
- func (x *GroupMember) GetHeartbeatAt() string
- func (x *GroupMember) GetSessionTimeoutMs() int32
- func (x *GroupMember) GetSubscriptions() []string
- func (*GroupMember) ProtoMessage()
- func (x *GroupMember) ProtoReflect() protoreflect.Message
- func (x *GroupMember) Reset()
- func (x *GroupMember) String() string
- type PartitionAssignment
- func (*PartitionAssignment) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionAssignment) GetAssignedAt() string
- func (x *PartitionAssignment) GetBrokerId() string
- func (x *PartitionAssignment) GetEpoch() int32
- func (*PartitionAssignment) ProtoMessage()
- func (x *PartitionAssignment) ProtoReflect() protoreflect.Message
- func (x *PartitionAssignment) Reset()
- func (x *PartitionAssignment) String() string
- type PartitionState
- func (*PartitionState) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionState) GetActiveSegment() string
- func (x *PartitionState) GetHighWatermark() int64
- func (x *PartitionState) GetLeaderBroker() string
- func (x *PartitionState) GetLeaderEpoch() int32
- func (x *PartitionState) GetLogEndOffset() int64
- func (x *PartitionState) GetLogStartOffset() int64
- func (x *PartitionState) GetPartition() int32
- func (x *PartitionState) GetSegments() []*SegmentInfo
- func (x *PartitionState) GetTopic() string
- func (*PartitionState) ProtoMessage()
- func (x *PartitionState) ProtoReflect() protoreflect.Message
- func (x *PartitionState) Reset()
- func (x *PartitionState) String() string
- type SegmentInfo
- func (*SegmentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentInfo) GetBaseOffset() int64
- func (x *SegmentInfo) GetCreatedAt() string
- func (x *SegmentInfo) GetSizeBytes() int64
- func (*SegmentInfo) ProtoMessage()
- func (x *SegmentInfo) ProtoReflect() protoreflect.Message
- func (x *SegmentInfo) Reset()
- func (x *SegmentInfo) String() string
- type TopicConfig
- func (*TopicConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TopicConfig) GetConfig() map[string]string
- func (x *TopicConfig) GetCreatedAt() string
- func (x *TopicConfig) GetName() string
- func (x *TopicConfig) GetPartitions() int32
- func (x *TopicConfig) GetReplicationFactor() int32
- func (x *TopicConfig) GetRetentionBytes() int64
- func (x *TopicConfig) GetRetentionMs() int64
- func (x *TopicConfig) GetSegmentBytes() int64
- func (*TopicConfig) ProtoMessage()
- func (x *TopicConfig) ProtoReflect() protoreflect.Message
- func (x *TopicConfig) Reset()
- func (x *TopicConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_metadata_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment struct {
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
Partitions []int32 `protobuf:"varint,2,rep,packed,name=partitions,proto3" json:"partitions,omitempty"`
// contains filtered or unexported fields
}
func (*Assignment) Descriptor
deprecated
func (*Assignment) Descriptor() ([]byte, []int)
Deprecated: Use Assignment.ProtoReflect.Descriptor instead.
func (*Assignment) GetPartitions ¶
func (x *Assignment) GetPartitions() []int32
func (*Assignment) GetTopic ¶
func (x *Assignment) GetTopic() string
func (*Assignment) ProtoMessage ¶
func (*Assignment) ProtoMessage()
func (*Assignment) ProtoReflect ¶
func (x *Assignment) ProtoReflect() protoreflect.Message
func (*Assignment) Reset ¶
func (x *Assignment) Reset()
func (*Assignment) String ¶
func (x *Assignment) String() string
type BrokerRegistration ¶
type BrokerRegistration struct {
BrokerId string `protobuf:"bytes,1,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
Rack string `protobuf:"bytes,4,opt,name=rack,proto3" json:"rack,omitempty"`
StartedAt string `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
LastHeartbeat string `protobuf:"bytes,6,opt,name=last_heartbeat,json=lastHeartbeat,proto3" json:"last_heartbeat,omitempty"`
Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*BrokerRegistration) Descriptor
deprecated
func (*BrokerRegistration) Descriptor() ([]byte, []int)
Deprecated: Use BrokerRegistration.ProtoReflect.Descriptor instead.
func (*BrokerRegistration) GetBrokerId ¶
func (x *BrokerRegistration) GetBrokerId() string
func (*BrokerRegistration) GetHost ¶
func (x *BrokerRegistration) GetHost() string
func (*BrokerRegistration) GetLastHeartbeat ¶
func (x *BrokerRegistration) GetLastHeartbeat() string
func (*BrokerRegistration) GetPort ¶
func (x *BrokerRegistration) GetPort() int32
func (*BrokerRegistration) GetRack ¶
func (x *BrokerRegistration) GetRack() string
func (*BrokerRegistration) GetStartedAt ¶
func (x *BrokerRegistration) GetStartedAt() string
func (*BrokerRegistration) GetVersion ¶
func (x *BrokerRegistration) GetVersion() string
func (*BrokerRegistration) ProtoMessage ¶
func (*BrokerRegistration) ProtoMessage()
func (*BrokerRegistration) ProtoReflect ¶
func (x *BrokerRegistration) ProtoReflect() protoreflect.Message
func (*BrokerRegistration) Reset ¶
func (x *BrokerRegistration) Reset()
func (*BrokerRegistration) String ¶
func (x *BrokerRegistration) String() string
type CommittedOffset ¶
type CommittedOffset struct {
Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
Metadata string `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
CommittedAt string `protobuf:"bytes,3,opt,name=committed_at,json=committedAt,proto3" json:"committed_at,omitempty"`
LeaderEpoch int32 `protobuf:"varint,4,opt,name=leader_epoch,json=leaderEpoch,proto3" json:"leader_epoch,omitempty"`
// contains filtered or unexported fields
}
func (*CommittedOffset) Descriptor
deprecated
func (*CommittedOffset) Descriptor() ([]byte, []int)
Deprecated: Use CommittedOffset.ProtoReflect.Descriptor instead.
func (*CommittedOffset) GetCommittedAt ¶
func (x *CommittedOffset) GetCommittedAt() string
func (*CommittedOffset) GetLeaderEpoch ¶
func (x *CommittedOffset) GetLeaderEpoch() int32
func (*CommittedOffset) GetMetadata ¶
func (x *CommittedOffset) GetMetadata() string
func (*CommittedOffset) GetOffset ¶
func (x *CommittedOffset) GetOffset() int64
func (*CommittedOffset) ProtoMessage ¶
func (*CommittedOffset) ProtoMessage()
func (*CommittedOffset) ProtoReflect ¶
func (x *CommittedOffset) ProtoReflect() protoreflect.Message
func (*CommittedOffset) Reset ¶
func (x *CommittedOffset) Reset()
func (*CommittedOffset) String ¶
func (x *CommittedOffset) String() string
type ConsumerGroup ¶
type ConsumerGroup struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
ProtocolType string `protobuf:"bytes,3,opt,name=protocol_type,json=protocolType,proto3" json:"protocol_type,omitempty"`
Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
Leader string `protobuf:"bytes,5,opt,name=leader,proto3" json:"leader,omitempty"`
GenerationId int32 `protobuf:"varint,6,opt,name=generation_id,json=generationId,proto3" json:"generation_id,omitempty"`
Members map[string]*GroupMember `` /* 141-byte string literal not displayed */
RebalanceTimeoutMs int32 `protobuf:"varint,8,opt,name=rebalance_timeout_ms,json=rebalanceTimeoutMs,proto3" json:"rebalance_timeout_ms,omitempty"`
// contains filtered or unexported fields
}
func (*ConsumerGroup) Descriptor
deprecated
func (*ConsumerGroup) Descriptor() ([]byte, []int)
Deprecated: Use ConsumerGroup.ProtoReflect.Descriptor instead.
func (*ConsumerGroup) GetGenerationId ¶
func (x *ConsumerGroup) GetGenerationId() int32
func (*ConsumerGroup) GetGroupId ¶
func (x *ConsumerGroup) GetGroupId() string
func (*ConsumerGroup) GetLeader ¶
func (x *ConsumerGroup) GetLeader() string
func (*ConsumerGroup) GetMembers ¶
func (x *ConsumerGroup) GetMembers() map[string]*GroupMember
func (*ConsumerGroup) GetProtocol ¶
func (x *ConsumerGroup) GetProtocol() string
func (*ConsumerGroup) GetProtocolType ¶
func (x *ConsumerGroup) GetProtocolType() string
func (*ConsumerGroup) GetRebalanceTimeoutMs ¶
func (x *ConsumerGroup) GetRebalanceTimeoutMs() int32
func (*ConsumerGroup) GetState ¶
func (x *ConsumerGroup) GetState() string
func (*ConsumerGroup) ProtoMessage ¶
func (*ConsumerGroup) ProtoMessage()
func (*ConsumerGroup) ProtoReflect ¶
func (x *ConsumerGroup) ProtoReflect() protoreflect.Message
func (*ConsumerGroup) Reset ¶
func (x *ConsumerGroup) Reset()
func (*ConsumerGroup) String ¶
func (x *ConsumerGroup) String() string
type GroupMember ¶
type GroupMember struct {
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
ClientHost string `protobuf:"bytes,2,opt,name=client_host,json=clientHost,proto3" json:"client_host,omitempty"`
HeartbeatAt string `protobuf:"bytes,3,opt,name=heartbeat_at,json=heartbeatAt,proto3" json:"heartbeat_at,omitempty"`
Assignments []*Assignment `protobuf:"bytes,4,rep,name=assignments,proto3" json:"assignments,omitempty"`
Subscriptions []string `protobuf:"bytes,5,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
SessionTimeoutMs int32 `protobuf:"varint,6,opt,name=session_timeout_ms,json=sessionTimeoutMs,proto3" json:"session_timeout_ms,omitempty"`
// contains filtered or unexported fields
}
func (*GroupMember) Descriptor
deprecated
func (*GroupMember) Descriptor() ([]byte, []int)
Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.
func (*GroupMember) GetAssignments ¶
func (x *GroupMember) GetAssignments() []*Assignment
func (*GroupMember) GetClientHost ¶
func (x *GroupMember) GetClientHost() string
func (*GroupMember) GetClientId ¶
func (x *GroupMember) GetClientId() string
func (*GroupMember) GetHeartbeatAt ¶
func (x *GroupMember) GetHeartbeatAt() string
func (*GroupMember) GetSessionTimeoutMs ¶
func (x *GroupMember) GetSessionTimeoutMs() int32
func (*GroupMember) GetSubscriptions ¶
func (x *GroupMember) GetSubscriptions() []string
func (*GroupMember) ProtoMessage ¶
func (*GroupMember) ProtoMessage()
func (*GroupMember) ProtoReflect ¶
func (x *GroupMember) ProtoReflect() protoreflect.Message
func (*GroupMember) Reset ¶
func (x *GroupMember) Reset()
func (*GroupMember) String ¶
func (x *GroupMember) String() string
type PartitionAssignment ¶
type PartitionAssignment struct {
BrokerId string `protobuf:"bytes,1,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
Epoch int32 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
AssignedAt string `protobuf:"bytes,3,opt,name=assigned_at,json=assignedAt,proto3" json:"assigned_at,omitempty"`
// contains filtered or unexported fields
}
func (*PartitionAssignment) Descriptor
deprecated
func (*PartitionAssignment) Descriptor() ([]byte, []int)
Deprecated: Use PartitionAssignment.ProtoReflect.Descriptor instead.
func (*PartitionAssignment) GetAssignedAt ¶
func (x *PartitionAssignment) GetAssignedAt() string
func (*PartitionAssignment) GetBrokerId ¶
func (x *PartitionAssignment) GetBrokerId() string
func (*PartitionAssignment) GetEpoch ¶
func (x *PartitionAssignment) GetEpoch() int32
func (*PartitionAssignment) ProtoMessage ¶
func (*PartitionAssignment) ProtoMessage()
func (*PartitionAssignment) ProtoReflect ¶
func (x *PartitionAssignment) ProtoReflect() protoreflect.Message
func (*PartitionAssignment) Reset ¶
func (x *PartitionAssignment) Reset()
func (*PartitionAssignment) String ¶
func (x *PartitionAssignment) String() string
type PartitionState ¶
type PartitionState struct {
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
Partition int32 `protobuf:"varint,2,opt,name=partition,proto3" json:"partition,omitempty"`
LeaderBroker string `protobuf:"bytes,3,opt,name=leader_broker,json=leaderBroker,proto3" json:"leader_broker,omitempty"`
LeaderEpoch int32 `protobuf:"varint,4,opt,name=leader_epoch,json=leaderEpoch,proto3" json:"leader_epoch,omitempty"`
LogStartOffset int64 `protobuf:"varint,5,opt,name=log_start_offset,json=logStartOffset,proto3" json:"log_start_offset,omitempty"`
LogEndOffset int64 `protobuf:"varint,6,opt,name=log_end_offset,json=logEndOffset,proto3" json:"log_end_offset,omitempty"`
HighWatermark int64 `protobuf:"varint,7,opt,name=high_watermark,json=highWatermark,proto3" json:"high_watermark,omitempty"`
ActiveSegment string `protobuf:"bytes,8,opt,name=active_segment,json=activeSegment,proto3" json:"active_segment,omitempty"`
Segments []*SegmentInfo `protobuf:"bytes,9,rep,name=segments,proto3" json:"segments,omitempty"`
// contains filtered or unexported fields
}
func (*PartitionState) Descriptor
deprecated
func (*PartitionState) Descriptor() ([]byte, []int)
Deprecated: Use PartitionState.ProtoReflect.Descriptor instead.
func (*PartitionState) GetActiveSegment ¶
func (x *PartitionState) GetActiveSegment() string
func (*PartitionState) GetHighWatermark ¶
func (x *PartitionState) GetHighWatermark() int64
func (*PartitionState) GetLeaderBroker ¶
func (x *PartitionState) GetLeaderBroker() string
func (*PartitionState) GetLeaderEpoch ¶
func (x *PartitionState) GetLeaderEpoch() int32
func (*PartitionState) GetLogEndOffset ¶
func (x *PartitionState) GetLogEndOffset() int64
func (*PartitionState) GetLogStartOffset ¶
func (x *PartitionState) GetLogStartOffset() int64
func (*PartitionState) GetPartition ¶
func (x *PartitionState) GetPartition() int32
func (*PartitionState) GetSegments ¶
func (x *PartitionState) GetSegments() []*SegmentInfo
func (*PartitionState) GetTopic ¶
func (x *PartitionState) GetTopic() string
func (*PartitionState) ProtoMessage ¶
func (*PartitionState) ProtoMessage()
func (*PartitionState) ProtoReflect ¶
func (x *PartitionState) ProtoReflect() protoreflect.Message
func (*PartitionState) Reset ¶
func (x *PartitionState) Reset()
func (*PartitionState) String ¶
func (x *PartitionState) String() string
type SegmentInfo ¶
type SegmentInfo struct {
BaseOffset int64 `protobuf:"varint,1,opt,name=base_offset,json=baseOffset,proto3" json:"base_offset,omitempty"`
SizeBytes int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*SegmentInfo) Descriptor
deprecated
func (*SegmentInfo) Descriptor() ([]byte, []int)
Deprecated: Use SegmentInfo.ProtoReflect.Descriptor instead.
func (*SegmentInfo) GetBaseOffset ¶
func (x *SegmentInfo) GetBaseOffset() int64
func (*SegmentInfo) GetCreatedAt ¶
func (x *SegmentInfo) GetCreatedAt() string
func (*SegmentInfo) GetSizeBytes ¶
func (x *SegmentInfo) GetSizeBytes() int64
func (*SegmentInfo) ProtoMessage ¶
func (*SegmentInfo) ProtoMessage()
func (*SegmentInfo) ProtoReflect ¶
func (x *SegmentInfo) ProtoReflect() protoreflect.Message
func (*SegmentInfo) Reset ¶
func (x *SegmentInfo) Reset()
func (*SegmentInfo) String ¶
func (x *SegmentInfo) String() string
type TopicConfig ¶
type TopicConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Partitions int32 `protobuf:"varint,2,opt,name=partitions,proto3" json:"partitions,omitempty"`
ReplicationFactor int32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"`
RetentionMs int64 `protobuf:"varint,4,opt,name=retention_ms,json=retentionMs,proto3" json:"retention_ms,omitempty"`
RetentionBytes int64 `protobuf:"varint,5,opt,name=retention_bytes,json=retentionBytes,proto3" json:"retention_bytes,omitempty"`
SegmentBytes int64 `protobuf:"varint,6,opt,name=segment_bytes,json=segmentBytes,proto3" json:"segment_bytes,omitempty"`
CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Config map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*TopicConfig) Descriptor
deprecated
func (*TopicConfig) Descriptor() ([]byte, []int)
Deprecated: Use TopicConfig.ProtoReflect.Descriptor instead.
func (*TopicConfig) GetConfig ¶
func (x *TopicConfig) GetConfig() map[string]string
func (*TopicConfig) GetCreatedAt ¶
func (x *TopicConfig) GetCreatedAt() string
func (*TopicConfig) GetName ¶
func (x *TopicConfig) GetName() string
func (*TopicConfig) GetPartitions ¶
func (x *TopicConfig) GetPartitions() int32
func (*TopicConfig) GetReplicationFactor ¶
func (x *TopicConfig) GetReplicationFactor() int32
func (*TopicConfig) GetRetentionBytes ¶
func (x *TopicConfig) GetRetentionBytes() int64
func (*TopicConfig) GetRetentionMs ¶
func (x *TopicConfig) GetRetentionMs() int64
func (*TopicConfig) GetSegmentBytes ¶
func (x *TopicConfig) GetSegmentBytes() int64
func (*TopicConfig) ProtoMessage ¶
func (*TopicConfig) ProtoMessage()
func (*TopicConfig) ProtoReflect ¶
func (x *TopicConfig) ProtoReflect() protoreflect.Message
func (*TopicConfig) Reset ¶
func (x *TopicConfig) Reset()
func (*TopicConfig) String ¶
func (x *TopicConfig) String() string
Click to show internal directories.
Click to hide internal directories.