Documentation ¶
Index ¶
- Variables
- func GetBroker(bootstrapUrl string) (brokers []string, err error)
- func InitTopic(bootstrapUrl string, topics ...string) (err error)
- func NewConsumer(ctx context.Context, config configuration.Config, topic string, ...) error
- func NewProducer(ctx context.Context, kafkaUrl string, topic string, debug bool) (interfaces.Producer, error)
- type Producer
Constants ¶
This section is empty.
Variables ¶
View Source
var CommitError = errors.New("unable to commit to kafka")
View Source
var FetchError = errors.New("unable to fetch from kafka")
View Source
var HandlerError = errors.New("unable to handle kafka message")
Functions ¶
func NewConsumer ¶
func NewProducer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.