摘要: 1.安装包 pip3 install kafka-python 2.消费者 from kafka import KafkaConsumer import json consumer = KafkaConsumer('sink',group_id='test',bootstrap_servers=[' 阅读全文
posted @ 2022-02-24 17:57 缘故为何 阅读(940) 评论(0) 推荐(1) 编辑
摘要: package Consumer; import com.alibaba.fastjson.JSONObject; import org.apache.flink.api.common.functions.FilterFunction; import org.apache.flink.api.com 阅读全文
posted @ 2022-02-24 17:54 缘故为何 阅读(381) 评论(0) 推荐(0) 编辑