flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Metzger <rmetz...@apache.org>
Subject Re: Simple Flink - Kafka Test
Date Thu, 11 Feb 2016 09:14:21 GMT
Quick clarification on Stephan's comment: In Flink 0.10, no suffix means
scala 2.10, for Scala 2.11 you have to add the _2.11 suffix to ALL
dependencies (including flink-java_2.11, flink-core_2.11 and so on).
In Flink 1.0, all artifacts depending on scala have a version suffix. For
example flink-clients_2.10 or flink-runtime_2.10 depend on scala and have
suffixes. However flink-java or flink-core do not depend on Scala at all,
hence you can not put a suffix.

I think both approaches are confusing and inconsistent in some sense.

On Wed, Feb 10, 2016 at 3:49 PM, Stephan Ewen <sewen@apache.org> wrote:

> Yes, 0.10.x does not always have Scala version suffixes.
>
> 1.0 is doing this consistently, should cause less confusion...
>
> On Wed, Feb 10, 2016 at 2:38 PM, shotte <hotte.sylvain@gmail.com> wrote:
>
>> Ok It is working now
>>
>> I had to change a few dependency with the _2.11 suffix
>>
>> Thanks
>>
>> Sylvain
>>
>>
>>         <dependencies>
>>                 <dependency>
>>                         <groupId>org.apache.flink</groupId>
>>                         <artifactId>flink-java</artifactId>
>>                         <version>${flink.version}</version>
>>                 </dependency>
>>                 <dependency>
>>                         <groupId>org.apache.flink</groupId>
>>                         <artifactId>flink-clients_2.11</artifactId>
>>                         <version>${flink.version}</version>
>>                 </dependency>
>>                 <dependency>
>>                         <groupId>org.apache.flink</groupId>
>>
>> <artifactId>flink-connector-kafka_2.11</artifactId>
>>                         <version>0.10.1</version>
>>                 </dependency>
>>                 <dependency>
>>                         <groupId>org.apache.flink</groupId>
>>                         <artifactId>flink-streaming-java_2.11</artifactId>
>>                         <version>0.10.1</version>
>>                 </dependency>
>>         </dependencies>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Simple-Flink-Kafka-Test-tp4828p4852.html
>> Sent from the Apache Flink User Mailing List archive. mailing list
>> archive at Nabble.com.
>>
>
>

Mime
View raw message