Skip to content

Commit

Permalink
Use message.Key instead of message.Topic
Browse files Browse the repository at this point in the history
  • Loading branch information
mertkaan.gul authored and aonuryilmaz committed Dec 27, 2024
1 parent 0c85b77 commit 81f6905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion execution_behaviour/behavioral/retry_execute_behavioral.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (k *retryBehaviour) Process(ctx context.Context, message *sarama.ConsumerMe

err = k.executor.Operate(ctx, message)
if err == nil {
fmt.Printf("Message is executed successfully, message topic: %+v\n", message.Topic)
fmt.Printf("Message is executed successfully, message key: %+v\n", message.Key)
break
}
}
Expand Down

0 comments on commit 81f6905

Please sign in to comment.