You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "dreamerblue (via GitHub)" <gi...@apache.org> on 2024/02/16 06:20:33 UTC
[I] [Feature request] Configure the auto-created DLQ producer [pulsar-client-node]
dreamerblue opened a new issue, #366:
URL: https://github.com/apache/pulsar-client-node/issues/366
We really like pulsar and would like to see more features in the node client.
We found the `deadLetterPolicy` only provides a few options, and the auto-created producer is non-configurable. We are requesting to add an extra producer config field under `ConsumerConfig.deadLetterPolicy` that will allow auto-created producers to configure properties such as the maximum number of batching messages, maximum delay to publish and whether to enable batching, etc.
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature request] Configure the auto-created DLQ producer [pulsar-client-node]
Posted by "shibd (via GitHub)" <gi...@apache.org>.
shibd commented on issue #366:
URL: https://github.com/apache/pulsar-client-node/issues/366#issuecomment-2033819590
Close this issue, it solves by cpp3.5.0, and the node.js client has already upgraded it.
--
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
Re: [I] [Feature request] Configure the auto-created DLQ producer [pulsar-client-node]
Posted by "dreamerblue (via GitHub)" <gi...@apache.org>.
dreamerblue commented on issue #366:
URL: https://github.com/apache/pulsar-client-node/issues/366#issuecomment-1947830385
Another reason we need this feature:
If we send multiple dead letter messages in a batch then they will have the same `ORIGIN_MESSAGE_ID` (see the demo below). this is a big difficulty to manually troubleshoot the original message from DLQ. So we need to turn off batching.
<img width="357" alt="image" src="https://github.com/apache/pulsar-client-node/assets/19774268/192b29bf-ab10-450b-b6b3-37693408c6f7">
--
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
Re: [I] [Feature request] Configure the auto-created DLQ producer [pulsar-client-node]
Posted by "shibd (via GitHub)" <gi...@apache.org>.
shibd closed issue #366: [Feature request] Configure the auto-created DLQ producer
URL: https://github.com/apache/pulsar-client-node/issues/366
--
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
Re: [I] [Feature request] Configure the auto-created DLQ producer [pulsar-client-node]
Posted by "dreamerblue (via GitHub)" <gi...@apache.org>.
dreamerblue commented on issue #366:
URL: https://github.com/apache/pulsar-client-node/issues/366#issuecomment-1953409028
Thanks for your reply. I think it's reasonable. The new client behavior can avoid some potential troubles.
--
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
Re: [I] [Feature request] Configure the auto-created DLQ producer [pulsar-client-node]
Posted by "shibd (via GitHub)" <gi...@apache.org>.
shibd commented on issue #366:
URL: https://github.com/apache/pulsar-client-node/issues/366#issuecomment-1951280321
The producer of DLQ should be a low-frequency operation, and we can turn off batch sending by default, just like the Java client behaves. And there's no need to expose those configurations, what do you think?
https://github.com/apache/pulsar/blob/252509e08018eeed189e0d5492c3664a67bced06/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L2166-L2189
--
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