Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func (*Producer) HealthCheck ¶
func (*Producer) Produce ¶
It is an example of how we can implement the message send to Kafka topic. Feel free to change this implementation if you need to add more options like headers, timestamp, partition etc.
func (*Producer) ProduceSync ¶
The same as Produce but imitates synchronous send
Click to show internal directories.
Click to hide internal directories.