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

Dead letter producer does not handle AUTO_CONSUME_SCHEMA #9935

Closed
yuvalgut opened this issue Mar 17, 2021 · 0 comments · Fixed by #9970
Closed

Dead letter producer does not handle AUTO_CONSUME_SCHEMA #9935

yuvalgut opened this issue Mar 17, 2021 · 0 comments · Fixed by #9970
Labels
help wanted release/2.7.3 type/bug The PR fixed a bug or issue reported a bug

Comments

@yuvalgut
Copy link

Describe the bug
when using an auto consume schema together with dead letter policy, the dead letter producer fails to start with this exception:
ConsumerImpl - Create dead letter producer exception with topic: deadLetterTopic
org.apache.pulsar.client.api.PulsarClientException$InvalidConfigurationException: AutoConsumeSchema is only used by consumers to detect schemas automatically

To Reproduce
Steps to reproduce the behavior:

  1. create consumer with Schema.AUTO_CONSUME with dead letter policy
  2. do negative acks
  3. when retries exceeds, the exception appears.

Expected behavior
the producer should use the record/topic schema of the message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted release/2.7.3 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants