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

Pulsar supporting DLQ for sources/sinks #7032

Closed
ADHB opened this issue May 25, 2020 · 3 comments · Fixed by #7094 or #7339
Closed

Pulsar supporting DLQ for sources/sinks #7032

ADHB opened this issue May 25, 2020 · 3 comments · Fixed by #7094 or #7339
Assignees
Labels
area/connector type/feature The PR added a new feature or issue requested a new feature
Milestone

Comments

@ADHB
Copy link

ADHB commented May 25, 2020

Currently Pulsar doesn't support DLQ for sources and sinks. Only functions support DLQ.
It is very important for sinks like ElasticSearch which is widely used in production env for logging systems to be able to redirect unacknowledged messages to another topic , keeping otherwise the brokers running as normal.

I would like to see a setting in consumer.conf or broker.conf that enables DLQ on a Pulsar configuration, so DLQ will be turned on for sources, sinks or any functions.

or

I would like to create a sink with an extra flag --DLQ parameter. Giving a topic to the parameter will turn on DLQ.

@ADHB ADHB added the type/feature The PR added a new feature or issue requested a new feature label May 25, 2020
@codelipenghui
Copy link
Contributor

codelipenghui commented May 25, 2020

Thanks for your feedback, @315157973 is working on this issue.

@315157973
Copy link
Contributor

315157973 commented May 27, 2020

Please assign it to me @codelipenghui

jiazhai pushed a commit that referenced this issue May 30, 2020
Fixes #7032

### Motivation
Source data flow:
Custom Source-> Function-> Pulsar producer-> Broker

Sink data flow:
Broker-> Pulsar consumer-> Function-> Custom Sink

Pulsar consumer is only used in sink mode, so it is necessary to add DLQ parameters for sink mode
@ADHB
Copy link
Author

ADHB commented May 30, 2020 via email

Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this issue Jun 1, 2020
Fixes apache#7032

### Motivation
Source data flow:
Custom Source-> Function-> Pulsar producer-> Broker

Sink data flow:
Broker-> Pulsar consumer-> Function-> Custom Sink

Pulsar consumer is only used in sink mode, so it is necessary to add DLQ parameters for sink mode
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this issue Jun 1, 2020
Fixes apache#7032

### Motivation
Source data flow:
Custom Source-> Function-> Pulsar producer-> Broker

Sink data flow:
Broker-> Pulsar consumer-> Function-> Custom Sink

Pulsar consumer is only used in sink mode, so it is necessary to add DLQ parameters for sink mode
Huanli-Meng pushed a commit to Huanli-Meng/pulsar that referenced this issue Jun 12, 2020
Fixes apache#7032

### Motivation
Source data flow:
Custom Source-> Function-> Pulsar producer-> Broker

Sink data flow:
Broker-> Pulsar consumer-> Function-> Custom Sink

Pulsar consumer is only used in sink mode, so it is necessary to add DLQ parameters for sink mode
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this issue Aug 24, 2020
Fixes apache#7032

### Motivation
Source data flow:
Custom Source-> Function-> Pulsar producer-> Broker

Sink data flow:
Broker-> Pulsar consumer-> Function-> Custom Sink

Pulsar consumer is only used in sink mode, so it is necessary to add DLQ parameters for sink mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connector type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
5 participants