poorbarcode commented on issue #23661:
URL: https://github.com/apache/pulsar/issues/23661#issuecomment-2564972356
@visxu
> Hi, @poorbarcode . Could you help take a look when you're available ?
I think the correct behavior should be to set the position to `latest` when
creating a subscription without a specified position, because the doc of `HTTP
PUT
/admin/v2/persistent/{tenant}/{namespace}/{topic}/subscription/{subscriptionName}`
is as follows: default value is `latest`
```java
@ApiParam(name = "messageId", value = "messageId where to create the
subscription. "
+ "It can be 'latest', 'earliest' or (ledgerId:entryId)",
defaultValue = "latest",
allowableValues = "latest, earliest, ledgerId:entryId"
)
```
--
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]