From 5dfa0c6f00f090440135272d3bd3c4a07bcaee04 Mon Sep 17 00:00:00 2001 From: sunxunle Date: Sat, 16 Mar 2024 21:44:00 +0800 Subject: [PATCH] chore: fix typo Signed-off-by: sunxunle --- examples/txn_producer/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/txn_producer/main.go b/examples/txn_producer/main.go index 17c121d21..4b9bf9a1f 100644 --- a/examples/txn_producer/main.go +++ b/examples/txn_producer/main.go @@ -143,7 +143,7 @@ func produceTestRecord(producerProvider *producerProvider) { if producer.TxnStatus()&sarama.ProducerTxnFlagAbortableError != 0 { err = producer.AbortTxn() if err != nil { - // If an error occured just retry it. + // If an error occurred just retry it. log.Printf("Producer: unable to abort transaction: %+v", err) continue }