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

Make Java client classloading more flexible

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.1.0
    • Component/s: clients
    • Labels:
      None

      Description

      JIRA corresponding to KIP-60 to enable classloading of default classes and custom classes to work in different classloading environments.

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

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

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1421
          Hide
          ijuma Ismael Juma added a comment -

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

          Show
          ijuma Ismael Juma added a comment - Issue resolved by pull request 1421 https://github.com/apache/kafka/pull/1421
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user rajinisivaram reopened a pull request:

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

          KAFKA-3680: Enable Kafka clients to run in any classloader env

          Configure default classes using class objects instead of class names, enable configurable lists of classes to be specified as class objects, add tests for different classloader configurations.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/rajinisivaram/kafka KAFKA-3680

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/kafka/pull/1421.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 #1421


          commit 364d42f5a2297cd75151d0f4d83f48a41b817f3f
          Author: Rajini Sivaram <rajinisivaram@googlemail.com>
          Date: 2016-05-24T09:52:48Z

          KAFKA-3680: Enable Kafka clients to run in any classloader env


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user rajinisivaram reopened a pull request: https://github.com/apache/kafka/pull/1421 KAFKA-3680 : Enable Kafka clients to run in any classloader env Configure default classes using class objects instead of class names, enable configurable lists of classes to be specified as class objects, add tests for different classloader configurations. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rajinisivaram/kafka KAFKA-3680 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1421.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 #1421 commit 364d42f5a2297cd75151d0f4d83f48a41b817f3f Author: Rajini Sivaram <rajinisivaram@googlemail.com> Date: 2016-05-24T09:52:48Z KAFKA-3680 : Enable Kafka clients to run in any classloader env
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user rajinisivaram closed the pull request at:

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

          Show
          githubbot ASF GitHub Bot added a comment - Github user rajinisivaram closed the pull request at: https://github.com/apache/kafka/pull/1421
          Hide
          avi_parkassist Avi Flax added a comment -

          I’m very much looking forward to this fix! I’m using Kafka clients and Kafka Streams with JRuby — which works great with a “normal” JRuby app wherein you just run the code, but does not work once a JRuby project is packaged up into an “uber” JAR with a custom classloader. (Full details in this issue.)

          Show
          avi_parkassist Avi Flax added a comment - I’m very much looking forward to this fix! I’m using Kafka clients and Kafka Streams with JRuby — which works great with a “normal” JRuby app wherein you just run the code, but does not work once a JRuby project is packaged up into an “uber” JAR with a custom classloader. (Full details in this issue .)

            People

            • Assignee:
              rsivaram Rajini Sivaram
              Reporter:
              rsivaram Rajini Sivaram
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development