Skip to content

Commit d2246cc

Browse files
authored
fix: declare assignor variable for examples & clean up log format (#2909)
Signed-off-by: kumakichi <[email protected]>
1 parent 3fad210 commit d2246cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/exactly_once/main.go

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var (
2626
destinationTopic = ""
2727
oldest = true
2828
verbose = false
29+
assignor = ""
2930
)
3031

3132
func init() {

transaction_manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func (t *transactionManager) publishOffsetsToTxn(offsets topicPartitionOffsets,
466466
resultOffsets = failedTxn
467467

468468
if len(resultOffsets) == 0 {
469-
DebugLogger.Printf("txnmgr/txn-offset-commit [%s] successful txn-offset-commit with group %s %+v\n",
469+
DebugLogger.Printf("txnmgr/txn-offset-commit [%s] successful txn-offset-commit with group %s\n",
470470
t.transactionalID, groupId)
471471
return resultOffsets, false, nil
472472
}

0 commit comments

Comments
 (0)