dlsprague opened a new issue #9142:
URL: https://github.com/apache/pulsar/issues/9142


   If user needs to stop or some error stops the service and its not noticed 
for a while on restart the reader might get these  errors. 
    This error is only recoverable when waiting for a couple of hours and then 
starting the reader again.
   
   Getting the following errors every so often when restarting reader code:g
   
   Received error from server: **Failed to get batch size for entry** 
org.apache.bookkeeper.mledger.ManagedLedgerException$NonRecoverableLedgerException:
 **No such ledger exists on Metadata Server**
   Received unknown request id from server: 12
   
   Received error from server: Failed to get batch size for entry 
org.apache.bookkeeper.mledger.ManagedLedgerException: Incorrect parameter input
   
   
   This only occurs using a reader instead of a consumer or producer. 
   The only fix is to keep waiting and restarting the connection until that 
error doesn't come from pulsar.
   
   Broker is running on 2.6.0 version.   
   
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to