基于Spring Boot的萌宠”宠物社交与寻宠平台的设计与实现
2026/8/24 4:42:38
在使用AWS Kinesis Analytics运行Flink CDC任务,将MySQL数据实时同步到Elasticsearch时,遇到持续的413错误,导致任务反复失败重启。
ElasticsearchStatusException[Unable to parse response body] ResponseException: method [POST], host [https://your-es-endpoint:443], URI [/_bulk?timeout=1m], status line [HTTP/1.1 413 Request Entity Too Large] {"Message":"Request size exceeded 10485760 bytes"} Task switched from RUNNING to FAILED with failure cause: java.lang.RuntimeException: An error occurred in ElasticsearchSink.