tomscut commented on a change in pull request #13057:
URL: https://github.com/apache/pulsar/pull/13057#discussion_r770359411



##########
File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
##########
@@ -1292,6 +1293,12 @@ protected OpSendMsg newObject(Handle<OpSendMsg> handle) {
         };
     }
 
+    private static double nsToSeconds(long ns) {

Review comment:
       Thanks @nicoloboschi for your advice. I agree with you, but so far there 
is no suitable utility class such as `TimeUtils`. Maybe later, when there are 
more methods like `#nsToSeconds`, we can create one.




-- 
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