MichalKoziorowski-TomTom opened a new issue #10717:
URL: https://github.com/apache/pulsar/issues/10717


   **Describe the bug**
   After upgrading java client to 2.7.2 version we started to notice following 
logs:
   ```
   2021-05-26 18:00:39.236 ERROR 11646 --- [r-client-io-1-1] 
o.a.p.c.impl.MultiTopicsConsumerImpl     : 
[persistent://public/batch/embedded_ROUTING1_bdcccf7eeaec7f5e0e7d243451433ac2ae8506d4]
 not support shrink topic partitions. old: 1, new: 0
   2021-05-26 18:00:39.237  WARN 11646 --- [r-client-io-1-1] 
o.a.p.c.impl.MultiTopicsConsumerImpl     : [MultiTopicsConsumer-f03d6] Failed 
to subscribe increased topics partitions: 
org.apache.pulsar.client.api.PulsarClientException$NotSupportedException: not 
support shrink topic partitions
   ```
   
   This happens couple of minutes of not pushing new messages to listened topic.
   Another consequence of that are exceptions when trying to ack message that 
was in progress coming from that consumer:
   ```
   org.apache.pulsar.client.api.PulsarClientException$InvalidMessageException: 
null
        at 
org.apache.pulsar.client.impl.ConsumerBase.acknowledgeAsync(ConsumerBase.java:373)
   ```
   
   **Expected behavior**
   There should be no errors.
   
   **Additional context**
   After upgrading server and java client to 2.7.2 version, but it's problem in 
java client. 
   


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