You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/11/18 22:43:27 UTC

[GitHub] [pulsar] nlu90 commented on a change in pull request #12872: [Broker] Support create subscription by specifying the earliest or latest position.

nlu90 commented on a change in pull request #12872:
URL: https://github.com/apache/pulsar/pull/12872#discussion_r752681524



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/MessageIdImpl.java
##########
@@ -45,6 +45,18 @@ private MessageIdImpl() {
         this(-1, -1, -1);
     }
 
+    // Private constructor used only for json deserialization
+    private MessageIdImpl(String position) {

Review comment:
       should we check any invalid value other than "earliest" and "latest"?




-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org