You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/17 13:17:24 UTC

[GitHub] [pulsar] e-marchand-exensa opened a new issue #7580: [Java] [v2.5.2] CompletableFuture> from batchReceiveAsync not completed exceptionnally when closing Consumer

e-marchand-exensa opened a new issue #7580:
URL: https://github.com/apache/pulsar/issues/7580


   **Describe the bug**
   `CompletableFuture<Messages<T>>` from `Consumer.batchReceiveAsync()` not completed exceptionnally when closing `Consumer`.
   
   **To Reproduce**
   Thread A build a `Consumer<T> consumer`
   Thread B request `consumer.batchReceiveAsync().get()`
   Thread A call `consumer.close()`
   Thread B is still blocked
   
   **Expected behavior**
   The behavior should be consistent with `consumer.receiveAsync().get()` and complete exceptionnally when closing `Consumer`.
   
   **Desktop (please complete the following information):**
   Ubuntu 18.04 LTS, Java OpenJDK 11, Pulsar 2.5.2.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] 315157973 commented on issue #7580: [Java] [v2.5.2] CompletableFuture> from batchReceiveAsync not completed exceptionnally when closing Consumer

Posted by GitBox <gi...@apache.org>.
315157973 commented on issue #7580:
URL: https://github.com/apache/pulsar/issues/7580#issuecomment-661885717


   mark


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #7580: [Java] [v2.5.2] CompletableFuture> from batchReceiveAsync not completed exceptionnally when closing Consumer

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #7580:
URL: https://github.com/apache/pulsar/issues/7580#issuecomment-662185005


   thanks @315157973 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] wolfstudy closed issue #7580: [Java] [v2.5.2] CompletableFuture> from batchReceiveAsync not completed exceptionnally when closing Consumer

Posted by GitBox <gi...@apache.org>.
wolfstudy closed issue #7580:
URL: https://github.com/apache/pulsar/issues/7580


   


----------------------------------------------------------------
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:
users@infra.apache.org