sijie commented on a change in pull request #4935: [Transaction][Buffer] handle 
command `EndTxnOnPartitiion`
URL: https://github.com/apache/pulsar/pull/4935#discussion_r313768449
 
 

 ##########
 File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
 ##########
 @@ -1358,6 +1360,57 @@ protected void handleGetSchema(CommandGetSchema 
commandGetSchema) {
         });
     }
 
+    @Override
+    protected void handleEndTxnOnPartition(PulsarApi.CommandEndTxnOnPartition 
commandEndTxnOnPartition) {
+        final long requestId = commandEndTxnOnPartition.getRequestId();
+        final String topicName = commandEndTxnOnPartition.getTopic();
+        final long mostBits = commandEndTxnOnPartition.getTxnidMostBits();
+        final long leastBits = commandEndTxnOnPartition.getTxnidLeastBits();
+
+        TxnID txnID = new TxnID(mostBits, leastBits);
+        log.info("Received CommandEndTxnOnPartition from {}, [{}] transaction 
{} on the topic {}", remoteAddress,
 
 Review comment:
   this should be in debug level. otherwise the logging will be too noisy.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to