From 757257cb229afc004778e681d3dbdbe9b42e186e Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 5 May 2024 15:29:29 +0200 Subject: payload-processor: print message partition --- src/payload-processor/processor/processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/payload-processor/processor/processor.go b/src/payload-processor/processor/processor.go index fc6792a..4b03bd5 100644 --- a/src/payload-processor/processor/processor.go +++ b/src/payload-processor/processor/processor.go @@ -73,6 +73,6 @@ func (p Processor) process(ctx context.Context, cancel context.CancelFunc) { } func (p Processor) handleMessage(m kafka.Message) error { - fmt.Printf("(%s): message at offset %d: %s = %s\n", time.Now().String(), m.Offset, string(m.Key), string(m.Value)) + fmt.Printf("(%s): message at paritition %d: offset %d: %s = %s\n", time.Now().String(), m.Partition, m.Offset, string(m.Key), string(m.Value)) return nil } -- cgit 1.4.1