Documentation ¶
Index ¶
- Variables
- type Admin
- func (a *Admin) AddConfig(ctx context.Context, topic, key, value string) error
- func (a *Admin) ConfigureTopic(ctx context.Context, topic string, config map[string]string) error
- func (a *Admin) CreateTopic(ctx context.Context, topicName string, partitionsCount int32, ...) error
- func (a *Admin) DeleteGroup(group string) error
- func (a *Admin) DeleteTopic(ctx context.Context, topic string) error
- func (a *Admin) DescribeGroup(ctx context.Context, group string) models.Group
- func (a *Admin) DescribeTopic(ctx context.Context, topic string) (models.TopicInfo, error)
- func (a *Admin) GetClusterInfo(ctx context.Context) (models.ClusterInfo, error)
- func (a *Admin) GetGroupsList(ctx context.Context) ([]string, error)
- func (a *Admin) GetOffsetByTime(ctx context.Context, partition int32, topic string, ts time.Time) (int64, error)
- func (a *Admin) GetOffsetsByTime(ctx context.Context, topic string, ts time.Time) ([]int64, error)
- func (a *Admin) GetTopicConsumers(ctx context.Context, topic string) ([]models.TopicConsumerInfo, error)
- func (a *Admin) ListTopics(ctx context.Context) ([]models.Topic, error)
- func (a *Admin) UpdateTopic(ctx context.Context, topic string, partitionsCount int32, ...) error
- type TopicConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoBrokers = errors.New("Empty brokers list")
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct {
// contains filtered or unexported fields
}
func NewAdmin ¶
func NewAdmin(config *config.Configuration) *Admin
func (*Admin) ConfigureTopic ¶
func (*Admin) CreateTopic ¶
func (*Admin) DeleteGroup ¶
func (*Admin) DescribeGroup ¶
func (*Admin) DescribeTopic ¶
func (*Admin) GetClusterInfo ¶ added in v0.1.0
func (*Admin) GetOffsetByTime ¶
func (*Admin) GetOffsetsByTime ¶ added in v0.1.0
func (*Admin) GetTopicConsumers ¶
type TopicConfig ¶
type TopicConfig map[string]sarama.IncrementalAlterConfigsEntry
Click to show internal directories.
Click to hide internal directories.