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 2022/03/16 03:22:23 UTC

[GitHub] [pulsar] wolfstudy opened a new issue #14704: DeadLetterPolicy should not allow Redelivery Count to be set to 0

wolfstudy opened a new issue #14704:
URL: https://github.com/apache/pulsar/issues/14704


   **Describe the bug**
   
   When the user uses the function of DeadLetterPolicy, it is better than misoperation. MaxRedeliverCount may be set to 0. When it is set to 0, according to the current processing logic of the Java Client, the message will be pushed to the DeadLetter Topic every time. Not what we expected to see. Because one of the biggest features of DeadLetterTopic is, when message exceeding the maximum number of redeliveries, message will send to the Dead Letter Topic and acknowledged automatic.
   
   
   ![wecom-temp-651e2f4263c076b2bb7c347f8f6d8058](https://user-images.githubusercontent.com/20965307/158510326-eb1dc489-bd7f-4bb7-bbcc-f7abc2fb5e1d.png)
   
   ![wecom-temp-4b11083eaf5a1dd81541592af414d3ad](https://user-images.githubusercontent.com/20965307/158510334-609a3259-a349-4431-b9e7-d5bb1d5e170c.png)
   


-- 
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 issue #14704: DeadLetterPolicy should not allow Redelivery Count to be set to 0

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


   Nice catch! @wolfstudy Do you want to push a PR to fix the issue?


-- 
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] wolfstudy closed issue #14704: DeadLetterPolicy should not allow Redelivery Count to be set to 0

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


   


-- 
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] wolfstudy closed issue #14704: DeadLetterPolicy should not allow Redelivery Count to be set to 0

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


   


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