概述

Apache Flink 提供各种连接器以与其他系统集成。In this article, I will share an example of consuming records from Kafka through FlinkKafkaConsumer and producing records to Kafka using FlinkKafkaProducer .

设置

我在本地安装了 Kafka 并创建了两个主题 TOPIC-INTOPIC-OUT