过程及分析
flink kafka报错Timeout of 60000ms expired before the position for partition could be determined 一般认为和partition数量不匹配有关,但实际处理需要关注日志。
在flink exception 处有如下错误:
org.apache.kafka.common.errors.TimeoutException: Timeout of 60000ms expired before the position for partition aaa-0 could be determined
开始只按这个去处理问题,觉得不对,因为测试就一个partition,使用
./bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --all-groups --describe
查看也是正常,最后查看flink task manager 的log
看到如下错误