Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++ client] Deadletter queue functionality #114

Closed
frejonb opened this issue Nov 15, 2019 · 5 comments
Closed

[C++ client] Deadletter queue functionality #114

frejonb opened this issue Nov 15, 2019 · 5 comments
Assignees

Comments

@frejonb
Copy link
Contributor

frejonb commented Nov 15, 2019

Is anyone working on porting DLQ from the Java client to Cpp apache/pulsar#2508? I'd like to help/contribute.

I'm thinking on the following API

Client client("pulsar://localhost:6650");

Consumer consumer;
ConsumerConfiguration config;
config.setMaxRedeliverCount(10);
config.setDeadLetterTopic("my-dlq-topic");

Result result = client.subscribe("persistent://prop/r1/ns1/my-topic", "consumer-1", config, consumer);
@codelipenghui
Copy link
Contributor

I will recommend to use only one step to enable dead letter topic, it might can be:

config.setDeadLetterTopic(10, "my-dlq-topic")

BTW, welcome. I think there is no one works on it.

@jiazhai
Copy link
Member

jiazhai commented Nov 21, 2019

@frejonb, 👍 welcome and feel free to do it. :)

@shaunek
Copy link

shaunek commented Jun 23, 2021

This functionality would be much appreciated. I'm mainly interested because adding functionality to the C++ client would enable the functionality in the nodejs client as well.

@tisonkun tisonkun transferred this issue from apache/pulsar Nov 10, 2022
@shibd
Copy link
Member

shibd commented Nov 10, 2022

Related: #77

I will start working on this. @tisonkun Please assign it to me.

@tisonkun
Copy link
Member

@shibd assigned. Go ahead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants