Documentation ¶
Index ¶
- type Kafka
- func (k *Kafka) Build() (*group.Group, error)
- func (k *Kafka) SetChannel(channel string) *Kafka
- func (k *Kafka) SetCodec(command codec.Codec, replies codec.Codec) *Kafka
- func (k *Kafka) SetConfig(c *sarama.Config) *Kafka
- func (k *Kafka) SetErrorHandler(h messaging.ErrorHandler) *Kafka
- func (k *Kafka) SetListenerOptions(opts ...messagingkafka.ReceiverOption) *Kafka
- func (k *Kafka) SetLogger(l group.Logger) *Kafka
- func (k *Kafka) SetPostgresStore(pool *pgxpool.Pool) *Kafka
- func (k *Kafka) SetReplierOpts(opts ...commandbus.ReplierOption) *Kafka
- func (k *Kafka) SetStore(s group.Store) *Kafka
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kafka ¶
type Kafka struct {
// contains filtered or unexported fields
}
func (*Kafka) SetChannel ¶
func (*Kafka) SetErrorHandler ¶
func (k *Kafka) SetErrorHandler(h messaging.ErrorHandler) *Kafka
func (*Kafka) SetListenerOptions ¶
func (k *Kafka) SetListenerOptions(opts ...messagingkafka.ReceiverOption) *Kafka
func (*Kafka) SetReplierOpts ¶
func (k *Kafka) SetReplierOpts(opts ...commandbus.ReplierOption) *Kafka
Click to show internal directories.
Click to hide internal directories.