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 Struct
func NewProducer ¶
func NewProducer(logger *zap.Logger, brokers string, username string, password string, metricsServer *prometheus.MetricsServer, healthServer *health.Server) (*Producer, error)
Initialize The Producer
func (*Producer) ProduceKafkaMessage ¶
func (p *Producer) ProduceKafkaMessage(event *event.Event, channelReference eventingChannel.ChannelReference) error
Produce A KafkaMessage From The Specified CloudEvent To The Specified Topic And Wait For The Delivery Report
Click to show internal directories.
Click to hide internal directories.