Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SendMessages (0.32 sec)

  1. 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)
Back to top