赞
踩
Flink 与 Kafka 的一些方法调用跟其版本有关, 下面是我使用的版本
<properties> <maven.compiler.source>8</maven.compiler.source> <maven.compiler.target>8</maven.compiler.target> <maven.compiler.compilerVersion>8</maven.compiler.compilerVersion> <flink.version>1.12.1</flink.version> <scala.version>2.12.7</scala.version> <kafka.version>2.4.1</kafka.version> </properties> <dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.version}</version> </dependency> <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-connector-kafka_2.12</artifactId> <version
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。