Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { MessageChan chan *sarama.ConsumerMessage // contains filtered or unexported fields }
Consumer ...
func (*Consumer) Cleanup ¶
func (consumer *Consumer) Cleanup(sarama.ConsumerGroupSession) error
Cleanup ...
func (*Consumer) ConsumeClaim ¶
func (consumer *Consumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
ConsumeClaim ...
type ConsumerOptions ¶
ConsumerOptions ...
func (*ConsumerOptions) StartConsumer ¶
func (options *ConsumerOptions) StartConsumer(ctx context.Context) (Consumer, *sync.WaitGroup, error)
StartConsumer ...
type Container ¶
type Container struct { tc.ContainerConfig Container testcontainers.Container Host string Port int Brokers []string Listeners []string Version string }
Container ...
type Options ¶
type Options struct { tc.ContainerOptions LogLevel string KafkaImageTag string ZookeeperImageTag string ZookeeperName string }
Options ...
type Producer ¶
type Producer struct { DataCollector sarama.SyncProducer AccessLogProducer sarama.AsyncProducer }
Producer ...
type ProducerOptions ¶
ProducerOptions ...
func (*ProducerOptions) NewProducer ¶
func (options *ProducerOptions) NewProducer() (*Producer, error)
NewProducer ...
Click to show internal directories.
Click to hide internal directories.