Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3162

KIP-42: Add Producer and Consumer Interceptors

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0.0
    • 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

          Activity

            githubbot ASF GitHub Bot added a comment -

            GitHub user apovzner opened a pull request:

            https://github.com/apache/kafka/pull/854

            KAFKA-3162: Added producer and consumer interceptors

            This 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-3162 Added producer and consumer interceptors


            githubbot ASF GitHub Bot added a comment - GitHub user apovzner opened a pull request: https://github.com/apache/kafka/pull/854 KAFKA-3162 : Added producer and consumer interceptors This 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-3162 Added producer and consumer interceptors
            gwenshap Gwen Shapira added a comment -

            Issue resolved by pull request 854
            https://github.com/apache/kafka/pull/854

            gwenshap Gwen Shapira added a comment - Issue resolved by pull request 854 https://github.com/apache/kafka/pull/854
            githubbot ASF GitHub Bot added a comment -

            Github user asfgit closed the pull request at:

            https://github.com/apache/kafka/pull/854

            githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/854

            People

              apovzner Anna Povzner
              apovzner Anna Povzner
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: