Documentation ¶
Index ¶
- func BuildConsumerGroupConfig(conf *Config, initial int64) (*sarama.Config, error)
- func BuildProducerConfig(conf Config) (*sarama.Config, error)
- func CheckKafka(ctx context.Context, conf *Config, topics []string) error
- func NewConsumerGroup(conf *sarama.Config, addr []string, groupID string) (sarama.ConsumerGroup, error)
- func NewProducer(conf *sarama.Config, addr []string) (sarama.SyncProducer, error)
- type Config
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsumerGroup ¶
func NewProducer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.