- 链接地址:https://blog.csdn.net/weixin_41804049/article/details/106350595
- 链接标题:streaming读取kafka数据再保存到es7.7.0代码及踩过的坑_spark sql es the host did not accept the connectio-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:708
文章浏览阅读447次。代码import org.apache.kafka.clients.consumer.ConsumerConfigimport org.apache.kafka.common.serialization.StringDeserializerimport org.apache.spark.sql.SparkSessionimport org.apache.spark.streaming.{Seconds, StreamingContext}import org.apache.spark.st_spark sql es the host did not accept the connection within timeout of 60000
版权声明:本文发布于特牛生活网 内容均来源于互联网 如有侵权联系删除