[Feature request] Configure the auto-created DLQ producer
Closed this issue · 4 comments
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.
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?
Thanks for your reply. I think it's reasonable. The new client behavior can avoid some potential troubles.
Close this issue, it solves by cpp3.5.0, and the node.js client has already upgraded it.