package
Version:
v2.6.1
Opens a new window with list of versions in this module.
Published: May 3, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
THIS IS AN EXPERIMENTAL DRIVER, PLEASE USE WITH CAUTION
type Provider struct {
Brokers []string
Balancer kafka.Balancer
Reader *kafka.Reader
}
Provider is a Kafka based pubsub provider
Publish publishes a message to Kafka with a uuid as the key
func (p *Provider) Subscribe(opts pubsub.HandlerOptions, h pubsub.MsgHandler)
Subscribe implements Subscribe
Source Files
¶
Click to show internal directories.
Click to hide internal directories.