Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer abstracts hub-of-hubs-kafka-transport kafka-producer's generic usage.
func NewProducer ¶
func NewProducer(compressor compressors.Compressor, log logr.Logger) (*Producer, error)
NewProducer returns a new instance of Producer object.
func (*Producer) Subscribe ¶
func (p *Producer) Subscribe(messageID string, callbacks map[transport.EventType]transport.EventCallback)
Subscribe adds a callback to be delegated when a given event occurs for a message with the given ID.
func (*Producer) SupportsDeltaBundles ¶
SupportsDeltaBundles returns true. kafka does support delta bundles.
Click to show internal directories.
Click to hide internal directories.