Documentation
¶
Index ¶
- func CreateConnectionAndSubmitRecords(ctx context.Context) *kgo.Client
- func ProduceMessages(ctx context.Context, client *kgo.Client, record []*kgo.Record) error
- func RandomString(n int) string
- func RollbackTransaction(client *kgo.Client) error
- func SubmitRecords(ctx context.Context, client *kgo.Client, kafkaRecords []*kgo.Record) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConnectionAndSubmitRecords ¶
CreateConnectionAndSubmitRecords creates a connection to Kafka and submits records
func ProduceMessages ¶
ProduceMessages produces messages to Kafka
func RandomString ¶
func RollbackTransaction ¶
RollbackTransaction rolls back a transaction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.