[ 
https://issues.apache.org/jira/browse/FLINK-15764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024571#comment-17024571
 ] 

Igal Shilman commented on FLINK-15764:
--------------------------------------

[~chesnay] I will create a PR with a comment that explains this exclusion, I 
agree that it is a good practice to follow.
If you would remove that exclusion you would see that:

{code}
org.apache.flink:flink-runtime_2.11:1.10-SNAPSHOT
        +-org.xerial.snappy:snappy-java:1.1.4

{code}

and

{code}
 +-org.apache.kafka:kafka-clients:2.2.0
      +-org.xerial.snappy:snappy-java:1.1.7.2
{code}

depend on different versions of snappy-java, and since kafka-clients is only 
there for the Consumer(Producer)Record classes.


> Document why snappy-java is excluded from kafka-clients
> -------------------------------------------------------
>
>                 Key: FLINK-15764
>                 URL: https://issues.apache.org/jira/browse/FLINK-15764
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System, Stateful Functions
>    Affects Versions: statefun-1.1
>            Reporter: Chesnay Schepler
>            Priority: Minor
>
> {{statefun-kafka-io}} has a dependency on {{kafka-clients}}, with an 
> exclusion for {{snappy-java}}. The reason for this exclusion should be 
> documented.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to