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

Support Kafka's ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG in PulsarKafkaConsumer. #3911

Merged
merged 2 commits into from
Mar 28, 2019

Conversation

MarvinCai
Copy link
Contributor

Motivatio
Support Kafka's ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG in PulsarKafkaConsumer. close #1090

Apply onConsume in poll() before returning the read ConsumerRecords, apply onCommit in doCommitOffsets() before committing all offsets.
All exception during applying onConsume/onCommit will be catch and log a message at the WARN level, it won't interrupt the normal poll() and doCommitOffsets() process.

Also update doc to reflect support for ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG.

…fkaConsumer.

Apply onConsume in poll() before returning the ConsumerRecords,
apply onCommit in doCommitOffsets() before committing all offsets.

Also apply doc to reflect support for ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG.
…tors to include the specific interceptor name.
@sijie
Copy link
Member

sijie commented Mar 27, 2019

run cpp tests

@sijie sijie added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/client component/kafka labels Mar 27, 2019
@sijie sijie added this to the 2.4.0 milestone Mar 27, 2019
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@merlimat merlimat merged commit 0487804 into apache:master Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to configure all options when using Kafka wrapper
3 participants