The latter link you posted refers to a very old flink release. You shold use the first link, which refers to latest release
FG On Tue, Feb 1, 2022 at 8:20 AM HG <hanspeter.sl...@gmail.com> wrote: > Hello all > > I am confused. > What is the difference between KafkaSource as defined in : > https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/connectors/datastream/kafka/ > and FlinkKafkaConsumer010 as defined in > https://nightlies.apache.org/flink/flink-docs-release- > 1.2/api/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumer010.html > <https://nightlies.apache.org/flink/flink-docs-release-1.2/api/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumer010.html> > > When should I use which? > > Regards Hans >