Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
This JIRA is for main part of KIP-42 implementation, which includes:
1. Add ProducerInterceptor interface and call its callbacks from appropriate places in Kafka Producer.
2. Add ConsumerInterceptor interface and call its callbacks from appropriate places in Kafka Consumer.
3. Add unit tests for interceptor changes
4. Add integration test for both mutable consumer and producer interceptors (running at the same time).
Attachments
Issue Links
- mentioned in
-
Page Loading...
GitHub user apovzner opened a pull request:
https://github.com/apache/kafka/pull/854
KAFKA-3162: Added producer and consumer interceptorsThis is the most of the KIP-42: Producer and consumer interceptor. (Except exposing CRC and record sizes to the interceptor, which is coming as a separate PR; tracked by
KAFKA-3196).This PR includes:
1. Add ProducerInterceptor interface and call its callbacks from appropriate places in Kafka Producer.
2. Add ConsumerInterceptor interface and call its callbacks from appropriate places in Kafka Consumer.
3. Add unit tests for interceptor changes
4. Add integration test for both mutable consumer and producer interceptors.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apovzner/kafka kip42
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/854.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #854
commit d851ab68fadfff4f80318251cdcb4caf2097e161
Author: Anna Povzner <anna@confluent.io>
Date: 2016-02-03T00:40:55Z
KAFKA-3162Added producer and consumer interceptors