You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Enno Runne (JIRA)" <ji...@apache.org> on 2019/06/09 19:07:00 UTC

[jira] [Created] (KAFKA-8514) Kafka clients should not include Scala's Java 8 compatibility lib

Enno Runne created KAFKA-8514:
---------------------------------

             Summary: Kafka clients should not include Scala's Java 8 compatibility lib
                 Key: KAFKA-8514
                 URL: https://issues.apache.org/jira/browse/KAFKA-8514
             Project: Kafka
          Issue Type: Bug
          Components: clients
            Reporter: Enno Runne


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]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)