dlg99 commented on a change in pull request #9947:
URL: https://github.com/apache/pulsar/pull/9947#discussion_r597091861



##########
File path: 
pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/source/PulsarRecord.java
##########
@@ -61,6 +61,11 @@
         return Optional.of(topicName);
     }
 
+    @Override
+    public Optional<Integer> getPartitionNumber() {
+        return Optional.of(partition);

Review comment:
       `int partition`, cannot be null




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


Reply via email to