You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2019/06/09 19:16:00 UTC
[jira] [Commented] (KAFKA-8514) Kafka clients should not include
Scala's Java 8 compatibility lib
[ https://issues.apache.org/jira/browse/KAFKA-8514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859536#comment-16859536 ]
Ismael Juma commented on KAFKA-8514:
------------------------------------
Thanks for filing this, I had also noticed this yesterday and was going to file a JIRA. cc [~agavra]
> 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
> Priority: Major
>
> 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)