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 2021/09/24 07:10:35 UTC
[GitHub] [pulsar] Shoothzj opened a new pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Shoothzj opened a new pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170
### Motivation
Currently, if `BatchMessageContainerImpl`'s add method throw an `Exception` while adding the first messages.
Then, the message list is not empty, while the `batchedMessageMetadataAndPayload` is null.
The producer can't recovery unless we reboot.
### Modifications
Support to recovery after add the first message throws exception
### Documentation
bug fix, doesn't need doc
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on a change in pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on a change in pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#discussion_r716128373
##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java
##########
@@ -66,18 +66,24 @@ public boolean add(MessageImpl<?> msg, SendCallback callback) {
}
if (++numMessagesInBatch == 1) {
- // some properties are common amongst the different messages in the batch, hence we just pick it up from
- // the first message
- messageMetadata.setSequenceId(msg.getSequenceId());
- lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
- this.firstCallback = callback;
- batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
- .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
- if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
- currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
- }
- if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
- currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ try {
+ // some properties are common amongst the different messages in the batch, hence we just pick it up from
+ // the first message
+ messageMetadata.setSequenceId(msg.getSequenceId());
+ lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
+ this.firstCallback = callback;
+ batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
+ .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
+ if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
+ currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
+ }
+ if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
+ currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ }
+ } catch (Exception e) {
Review comment:
Any exception occurred here will lead to the situation that` the message list is not empty, while the batchedMessageMetadataAndPayload is null.` So I think we should catch any throwable here.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-926970610
> Could you explain why `clear()` could fix the memory exhausted problem?
>
> Generally, for OOM issues, I suggest a fail fast solution. Otherwise, there might be a memory leak somewhere.
Agree. The return of `false` can achieve the goal of fast fail.
Why `clear` is because `numMessagesInBatch` has been modified to 1, which make `BatchMessageContainerImpl` never allocate buffer again. We need a `clear()` or `numMessagesInBatch=0`
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-938464190
> > Currently, if BatchMessageContainerImpl's add method throw an Exception while adding the first messages.
>
> I mean you have mentioned will get an exception from the add method, do you see the exception details? which will help us to better understand the problem.
OutOfDirectMemoryError. As same in my unit test, if `alloc` error, the producer can not normal work again. I am making it can self-healing.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-927240106
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-939608990
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] BewareMyPower commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
BewareMyPower commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-926750840
Could you explain why `clear()` could fix the memory exhausted problem?
Generally, for OOM issues, I suggest a fail fast solution. Otherwise, there might be a memory leak somewhere.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-939419952
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-927225753
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-938464327
@codelipenghui @merlimat PTAL
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-926997686
> But here it swallows the exception and returns false. What would happen if new messages arrived?
new messages will start a new journey, it can be add success if memory can be allocated now.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj removed a comment on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj removed a comment on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-939196724
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] eolivelli commented on a change in pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
eolivelli commented on a change in pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#discussion_r731694720
##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java
##########
@@ -66,18 +66,28 @@ public boolean add(MessageImpl<?> msg, SendCallback callback) {
}
if (++numMessagesInBatch == 1) {
- // some properties are common amongst the different messages in the batch, hence we just pick it up from
- // the first message
- messageMetadata.setSequenceId(msg.getSequenceId());
- lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
- this.firstCallback = callback;
- batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
- .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
- if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
- currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
- }
- if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
- currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ try {
+ // some properties are common amongst the different messages in the batch, hence we just pick it up from
+ // the first message
+ messageMetadata.setSequenceId(msg.getSequenceId());
+ lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
+ this.firstCallback = callback;
+ batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
+ .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
+ if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
+ currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
+ }
+ if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
+ currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ }
+ } catch (Throwable e) {
Review comment:
catching `Throwable` is always hard to handle.
we should at least deal with `InterruptedException`, and in case of InterruptedException you have to call `Thread.currentThread().interrupt() `
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-927298733
> Do you have details about the exception?
Yes, OutOfDirectMemoryError
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on a change in pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on a change in pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#discussion_r731714960
##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java
##########
@@ -66,18 +66,28 @@ public boolean add(MessageImpl<?> msg, SendCallback callback) {
}
if (++numMessagesInBatch == 1) {
- // some properties are common amongst the different messages in the batch, hence we just pick it up from
- // the first message
- messageMetadata.setSequenceId(msg.getSequenceId());
- lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
- this.firstCallback = callback;
- batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
- .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
- if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
- currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
- }
- if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
- currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ try {
+ // some properties are common amongst the different messages in the batch, hence we just pick it up from
+ // the first message
+ messageMetadata.setSequenceId(msg.getSequenceId());
+ lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
+ this.firstCallback = callback;
+ batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
+ .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
+ if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
+ currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
+ }
+ if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
+ currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ }
+ } catch (Throwable e) {
Review comment:
This block can't throw `InterruptedException`.
We need to catch all exception here, because any exception can lead to a uncover producer state.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-939391518
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] BewareMyPower commented on a change in pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
BewareMyPower commented on a change in pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#discussion_r715735285
##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/BatchMessageContainerImpl.java
##########
@@ -66,18 +66,24 @@ public boolean add(MessageImpl<?> msg, SendCallback callback) {
}
if (++numMessagesInBatch == 1) {
- // some properties are common amongst the different messages in the batch, hence we just pick it up from
- // the first message
- messageMetadata.setSequenceId(msg.getSequenceId());
- lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
- this.firstCallback = callback;
- batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
- .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
- if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
- currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
- }
- if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
- currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ try {
+ // some properties are common amongst the different messages in the batch, hence we just pick it up from
+ // the first message
+ messageMetadata.setSequenceId(msg.getSequenceId());
+ lowestSequenceId = Commands.initBatchMessageMetadata(messageMetadata, msg.getMessageBuilder());
+ this.firstCallback = callback;
+ batchedMessageMetadataAndPayload = PulsarByteBufAllocator.DEFAULT
+ .buffer(Math.min(maxBatchSize, ClientCnx.getMaxMessageSize()));
+ if (msg.getMessageBuilder().hasTxnidMostBits() && currentTxnidMostBits == -1) {
+ currentTxnidMostBits = msg.getMessageBuilder().getTxnidMostBits();
+ }
+ if (msg.getMessageBuilder().hasTxnidLeastBits() && currentTxnidLeastBits == -1) {
+ currentTxnidLeastBits = msg.getMessageBuilder().getTxnidLeastBits();
+ }
+ } catch (Exception e) {
Review comment:
Should we catch a specific exception here?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-927247097
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-939196724
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] BewareMyPower commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
BewareMyPower commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-926995617
But here it swallows the exception and returns false. What would happen if new messages arrived?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-927201023
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-926399842
@codelipenghui @BewareMyPower @eolivelli @merlimat Please take a first look if that change is right. I will add test cases if that's the right way to fix it.
Thanks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] Shoothzj commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
Shoothzj commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-939238331
/pulsarbot run-failure-checks
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] codelipenghui commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-927300448
> Currently, if BatchMessageContainerImpl's add method throw an Exception while adding the first messages.
I mean you have mentioned will get an exception from the add method, do you see the exception details? which will help us to better understand the problem.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] eolivelli merged pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory
Posted by GitBox <gi...@apache.org>.
eolivelli merged pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org