@@ -1274,14 +1274,14 @@ func (p *partitionProducer) ReceivedSendReceipt(response *pb.CommandSendReceipt)
12741274
12751275 if pi .sequenceID < response .GetSequenceId () {
12761276 // Force connection closing so that messages can be re-transmitted in a new connection
1277- p .log .Warnf ("Received ack for %v on sequenceId %v - expected: %v, local < remote, closing connection" ,
1278- response .GetMessageId (), response .GetSequenceId (), pi .sequenceID )
1277+ p .log .Warnf ("Received ack for ledgerId:%d entryId:%d on sequenceId %v - expected: %v, local < remote, closing connection" ,
1278+ int64 ( * response .GetMessageId (). LedgerId ), int64 ( * response . GetMessageId (). EntryId ), response .GetSequenceId (), pi .sequenceID )
12791279 p ._getConn ().Close ()
12801280 return
12811281 } else if pi .sequenceID > response .GetSequenceId () {
12821282 // Ignoring the ack since it's referring to a message that has already timed out.
1283- p .log .Warnf ("Received ack for %v on sequenceId %v - expected: %v, local > remote, ignore it" ,
1284- response .GetMessageId (), response .GetSequenceId (), pi .sequenceID )
1283+ p .log .Warnf ("Received ack for ledgerId:%d entryId:%d on sequenceId %v - expected: %v, local > remote, ignore it" ,
1284+ int64 ( * response .GetMessageId (). LedgerId ), int64 ( * response . GetMessageId (). EntryId ), response .GetSequenceId (), pi .sequenceID )
12851285 return
12861286 } else {
12871287 // The ack was indeed for the expected item in the queue, we can remove it and trigger the callback
0 commit comments