On Mon, May 28, 2018 at 1:48 AM, Piotr Nowojski <pi...@data-artisans.com> wrote:
> Most likely suspect is the standard java problem of some dependency > convergence issue. Please check if you are not pulling in multiple Kafka > versions into your class path. Especially your job shouldn’t pull any Kafka > library except of the one that comes from flnk-connector-kafka-0.11 (which > is 0.11.0.2). > Alas, that is not the case. The job correctly includes kafka-clients: 0.11.0.2: [warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible: [warn] [warn] * org.apache.kafka:kafka-clients:0.11.0.2 is selected over {0.10.2.1, 0.9.0.1} [warn] +- org.apache.flink:flink-connector-kafka-0.11_2.11:1.4.2 (depends on 0.11.0.2) [warn] +- org.apache.flink:flink-connector-kafka-0.9_2.11:1.4.2 (depends on 0.10.2.1) [warn] +- org.apache.flink:flink-connector-kafka-0.10_2.11:1.4.2 (depends on 0.10.2.1) [warn] > Please also consider upgrading your cluster at least to Kafka 0.11.0.2. > Kafka 0.11.0.0 was pretty unstable release, and we do not support it. Our > connector depend on Kafka 0.11.0.2 client and while I don’t assume that > there is some incompatibility between 0.11.0.0 cluster and 0.11.0.2 client, > it definitely wouldn’t hurt to upgrade the cluster. > Thanks for the tip. That said, this error should be unrelated to the version of the cluster.