Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaProducer ¶
type KafkaProducer struct {
// contains filtered or unexported fields
}
func NewKafkaProducer ¶
func NewKafkaProducer(brokers []string, sConfig *sarama.Config) (*KafkaProducer, error)
func (*KafkaProducer) Write ¶
func (m *KafkaProducer) Write(ctx context.Context, topic string, e cloudevents.Event) error
Click to show internal directories.
Click to hide internal directories.