package
Version:
v0.0.0-...-c0bc5af
Opens a new window with list of versions in this module.
Published: Mar 2, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Consumer struct {
Brokers []string
}
New returns a new kafka connection as a Consumer.
type Producer struct {
Brokers []string
}
Enqueue adds a new message to a queue by topic.
New returns a new kafka connection as a Producer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.