当前位置:   article > 正文

【异常】Flink整合ES出错,The implementation of the provided ElasticsearchSinkFunction is not serializable.

the implementation of the provided elasticsearchsinkfunction is not serializ

一、异常内容

Exception in thread "main" java.lang.IllegalArgumentException: The implementation of the provided ElasticsearchSinkFunction is not serializable. The object probably contains or references non-serializable fields.
	at org.apache.flink.util.Preconditions.checkArgument(Preconditions.java:142)
	at org.apache.flink.streaming.connectors.elasticsearch.ElasticsearchSinkBase.<init>(ElasticsearchSinkBase.java:215)
	at org.apache.flink.streaming.connectors.elasticsearch7.ElasticsearchSink.<init>(Elasticsear
  • 1
  • 2
  • 3
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/码创造者/article/detail/767750
推荐阅读
  

闽ICP备14008679号