Documentation
¶
Index ¶
- Variables
- func InitTopic(bootstrapUrl string, topics ...string) (err error)
- func NewConsumer(ctx context.Context, config config.Config, topic string, ...) (err error)
- func NewProducer(ctx context.Context, config config.Config, topic string) (p interfaces.Producer, err error)
- type FactoryType
- type Producer
Constants ¶
This section is empty.
Variables ¶
View Source
var Factory = FactoryType{}
Functions ¶
func NewConsumer ¶
func NewProducer ¶
Types ¶
type FactoryType ¶
type FactoryType struct{}
func (FactoryType) NewConsumer ¶
func (FactoryType) NewProducer ¶
func (FactoryType) NewProducer(ctx context.Context, config config.Config, topic string) (interfaces.Producer, error)
Click to show internal directories.
Click to hide internal directories.