zbentley opened a new issue #14563:
URL: https://github.com/apache/pulsar/issues/14563


   **Describe the bug**
   Calling "peek" on a subscription with an offset of 0 results in a stacktrace
   
   **To Reproduce**
   1. Create a non-partitioned topic.
   2. Publish at least one message to it.
   3. Create a subscription on it.
   4. Using the management API, do 
`$topic/subscription/$subscription/position/0`
   
   **Expected behavior**
   A documented error code and message are returned to the user, indicating 
"zero is not a valid offset".
   
   **Actual behavior**
   A stacktrace and 500 error are returned.
   
   Pulsar 2.9.1 on MacOS.
   


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