Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framer ¶
type Framer struct { Command chan<- *model.Command Document chan<- *model.Document Event chan<- *model.Event }
Framer provides convenience channels for producing messages.
func New ¶
func New( ctx context.Context, prodConfig *kafka.ProducerConfig, topicConfig *TopicConfig, ) (*Framer, error)
New creates a new Framer instance.
type TopicConfig ¶
TopicConfig is the configuration for topics on which respective entities should be produced. In case of Command and Document, this is the default topic if one is not set in Command or Document.
Click to show internal directories.
Click to hide internal directories.