Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
*kafka.Consumer
Conf ConsumerConfig
}
type ConsumerConfig ¶
func (ConsumerConfig) AfterInject ¶
func (c ConsumerConfig) AfterInject()
AfterInject is a no-op satisfying the Config interface.
func (ConsumerConfig) BeforeInject ¶
func (c ConsumerConfig) BeforeInject()
BeforeInject normalizes underscore-keyed config entries to dot notation (confluent-kafka-go convention).
type Producer ¶
type Producer struct {
*kafka.Producer
Conf ProducerConfig
}
func (*Producer) Close ¶
Close closes the Confluent Kafka producer and waits for in-flight messages.
type ProducerConfig ¶
func (ProducerConfig) AfterInject ¶
func (c ProducerConfig) AfterInject()
AfterInject is a no-op satisfying the Config interface.
func (ProducerConfig) BeforeInject ¶
func (c ProducerConfig) BeforeInject()
BeforeInject normalizes underscore-keyed config entries to dot notation.
Click to show internal directories.
Click to hide internal directories.