Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Topics returns the set of available topics as retrieved from cluster metadata. Topics() ([]string, error) // RefreshMetadata takes a list of topics and queries the cluster to refresh the // available metadata for those topics. If no topics are provided, it will refresh // metadata for all topics. RefreshMetadata(topics ...string) error Close() error }
type Config ¶
type Config struct { Servers []string ConsumerGroup string Sarama sarama.Config Topics TopicsConfig }
type ConsumerGroup ¶
type ConsumerManager ¶
type ConsumerManager struct {
// contains filtered or unexported fields
}
func NewConsumerManager ¶
func (*ConsumerManager) Reconcile ¶
func (m *ConsumerManager) Reconcile() error
func (*ConsumerManager) Topics ¶
func (m *ConsumerManager) Topics() []string
Click to show internal directories.
Click to hide internal directories.