Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type BrokerInfo ¶ added in v0.1.0
type BrokerInfo struct { ID int32 `json:"id"` Addr string `json:"addr"` IsController bool `json:"is_controller"` }
func NewBrokerInfo ¶ added in v0.1.0
func NewBrokerInfo( id int32, addr string, isController bool, ) BrokerInfo
type ClusterInfo ¶ added in v0.1.0
type ClusterInfo struct {
Brokers []BrokerInfo `json:"brokers"`
}
func NewClusterInfo ¶ added in v0.1.0
func NewClusterInfo() ClusterInfo
type Group ¶
type Member ¶
type Member struct { Host string `json:"host"` ID string `json:"id"` Assignments []Assignment `json:"assignments"` }
type Message ¶
type PartitionInfo ¶
type TopicConfigRecord ¶
type TopicConsumerInfo ¶
type TopicConsumers ¶
type TopicConsumers struct {
Consumers []TopicConsumerInfo `json:"consumers,omitempty"`
}
type TopicInfo ¶
type TopicInfo struct { TopicName string `json:"topic_name,omitempty"` Internal bool `json:"internal,omitempty"` Compacted bool `json:"compacted,omitempty"` Partitions []PartitionInfo `json:"partitions,omitempty"` Config []TopicConfigRecord `json:"config,omitempty"` }
func NewTopicInfo ¶
func NewTopicInfo() TopicInfo
Click to show internal directories.
Click to hide internal directories.