Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Forwarder ¶
type Forwarder struct { Producer kafkaProducer MessageType string }
A Forwarder facilitates sending a message to Kafka via kafka.Producer.
func (Forwarder) SendMessage ¶
func (f Forwarder) SendMessage(transactionID string, originSystem string, bookmark string, platformVersion string, uuid string, annotations interface{}, publication []string) error
SendMessage marshals an annotations payload using the outputMessage format and sends it to a Kafka.
type QueueForwarder ¶
type QueueForwarder interface {
SendMessage(transactionID string, originSystem string, bookmark string, platformVersion string, uuid string, annotations interface{}, publication []string) error
}
QueueForwarder is the interface implemented by types that can send annotation messages to a queue.
Click to show internal directories.
Click to hide internal directories.