kafka-go icon indicating copy to clipboard operation
kafka-go copied to clipboard

How do producers obtain the partition and offset of message sending

Open guozhao-coder opened this issue 2 years ago • 2 comments

How do producers obtain the partition and offset of message sending

guozhao-coder avatar Nov 08 '23 03:11 guozhao-coder

Sometimes when troubleshooting problems, we need to know the partition and offset of the message sent. Do you hane any suggestions. thx

guozhao-coder avatar Nov 08 '23 03:11 guozhao-coder

when initialising writer there is a completion func in which we can get offset partition of the message sent.

shashi-angelone avatar Dec 11 '23 11:12 shashi-angelone