Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKgoOptions ¶
func BuildKgoOptions(cfg *config.Config, tp *sdktrace.TracerProvider, checker *health.Checker) []kgo.Opt
BuildKgoOptions builds the options for the franz-go Kafka client.
Types ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer wraps a kgo.Client to provide a simple interface for producing messages.
func NewProducer ¶
NewProducer creates a new Producer.
Click to show internal directories.
Click to hide internal directories.