group

package
v0.0.0-...-da8027b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 NewKafka

func NewKafka(addr []string, name string) *Kafka

func (*Kafka) Build

func (k *Kafka) Build() (*group.Group, error)

func (*Kafka) SetChannel

func (k *Kafka) SetChannel(channel string) *Kafka

func (*Kafka) SetCodec

func (k *Kafka) SetCodec(command codec.Codec, replies codec.Codec) *Kafka

func (*Kafka) SetConfig

func (k *Kafka) SetConfig(c *sarama.Config) *Kafka

func (*Kafka) SetErrorHandler

func (k *Kafka) SetErrorHandler(h messaging.ErrorHandler) *Kafka

func (*Kafka) SetListenerOptions

func (k *Kafka) SetListenerOptions(opts ...messagingkafka.ReceiverOption) *Kafka

func (*Kafka) SetLogger

func (k *Kafka) SetLogger(l group.Logger) *Kafka

func (*Kafka) SetPostgresStore

func (k *Kafka) SetPostgresStore(pool *pgxpool.Pool) *Kafka

func (*Kafka) SetReplierOpts

func (k *Kafka) SetReplierOpts(opts ...commandbus.ReplierOption) *Kafka

func (*Kafka) SetStore

func (k *Kafka) SetStore(s group.Store) *Kafka

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL