nodece commented on code in PR #25536:
URL: https://github.com/apache/pulsar/pull/25536#discussion_r3091436045


##########
pulsar-broker/src/test/java/org/apache/pulsar/client/api/SimpleProducerConsumerTest.java:
##########
@@ -5021,11 +5034,11 @@ public void onSendAcknowledgement(Producer producer, 
Message message, MessageId
             // Create message payload, refCnf = 1 now.
             ByteBuf payload = PulsarByteBufAllocator.DEFAULT.heapBuffer(1);
             payloads[i] = payload;
-            log.info("payload_{}.refCnf 1st: {}", i,  payload.refCnt());
+            log.info().attr("payload", i).attr("st", 
payload.refCnt()).log("payload_ .refCnf 1st");

Review Comment:
   ```suggestion
               log.info().attr("payload", i).attr("refCnt", 
payload.refCnt()).log("Payload refCnt (1st)“);
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to