- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SendMessages (0.13 sec)
-
internal/event/target/kafka.go
var msgs []*sarama.ProducerMessage for _, event := range events { msg, err := target.toProducerMessage(event) if err != nil { return err } msgs = append(msgs, msg) } return target.producer.SendMessages(msgs) } // SendFromStore - reads an event from store and sends it to Kafka. func (target *KafkaTarget) SendFromStore(key store.Key) (err error) { if err = target.init(); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.6K bytes - Viewed (0)