Documentation ¶
Index ¶
- type Adapter
- func (a *Adapter) Cleanup(_ sarama.ConsumerGroupSession) error
- func (a *Adapter) ConsumeClaim(sess sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
- func (a *Adapter) Setup(_ sarama.ConsumerGroupSession) error
- func (a *Adapter) Start(ctx context.Context, stopCh <-chan struct{}) error
- type AdapterNet
- type AdapterSASL
- type AdapterTLS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { BootstrapServers string Topics string ConsumerGroup string Net AdapterNet SinkURI string // contains filtered or unexported fields }
func (*Adapter) ConsumeClaim ¶
func (a *Adapter) ConsumeClaim(sess sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
type AdapterNet ¶
type AdapterNet struct { SASL AdapterSASL TLS AdapterTLS }
type AdapterSASL ¶
type AdapterTLS ¶
type AdapterTLS struct {
Enable bool
}
Click to show internal directories.
Click to hide internal directories.