zifengmo commented on issue #21839:
URL: https://github.com/apache/pulsar/issues/21839#issuecomment-1953530760

   I fixed it  this way and re-packaged the jar, placing it in the lib 
directory for starting the proxy service.
   `public static boolean isRetriableError(Throwable t) {
           if (t instanceof AuthorizationException
                   || t instanceof InvalidServiceURL
                   || t instanceof InvalidConfigurationException
                   || t instanceof NotFoundException
                   || t instanceof IncompatibleSchemaException
                   || t instanceof TopicDoesNotExistException
                   || t instanceof UnsupportedAuthenticationException
                   || t instanceof InvalidMessageException
                   || t instanceof InvalidTopicNameException
                   || t instanceof NotSupportedException
                   || t instanceof NotAllowedException
                   || t instanceof ChecksumException
                   || t instanceof CryptoException
                   || t instanceof ConsumerAssignException
                   || t instanceof MessageAcknowledgeException
                   || t instanceof TransactionConflictException
                   || t instanceof ProducerBusyException
                   || t instanceof ConsumerBusyException
                   || t instanceof TransactionHasOperationFailedException) {
               return false;
           }
           if (t.getMessage() != null && t.getMessage().contains("Subscription 
does not exist")) {
               return false;
           }
           return true;
       }`


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