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

Kafka clients should not include Scala's Java 8 compatibility lib

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: clients
    • Labels:
      None

      Description

      The work with KAFKA-8305 brought in "org.scala-lang.modules:scala-java8-compat_2.12"
      as dependency of the client lib. This will give users from Scala an extra headache as it would need to be excluded when working with another Scala version.

      Instead, it should be moved to be a dependency of "core" for the convenience of converting Java and Scala Option instances.

      See https://github.com/apache/kafka/commit/8e161580b859b2fcd54c59625e232b99f3bb48d0#diff-c197962302397baf3a4cc36463dce5eaR942

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agavra Almog Gavra
                Reporter:
                ennru Enno Runne
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: