Documentation ¶
Index ¶
- func Init(ctx context.Context, config Config) (interface{}, error)
- func InitKafkaConsumer(brokerList []string) (*sarama.Consumer, error)
- func InitKafkaConsumerGroup(brokerList []string, groupId string) (*sarama.ConsumerGroup, error)
- func InitKafkaProducer(brokerList []string) (*sarama.AsyncProducer, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitKafkaConsumerGroup ¶
func InitKafkaConsumerGroup(brokerList []string, groupId string) (*sarama.ConsumerGroup, error)
func InitKafkaProducer ¶
func InitKafkaProducer(brokerList []string) (*sarama.AsyncProducer, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.