【Flink】 producer attempted to use a producer id which is not currently assigned to its transaction

在这里插入图片描述

1.场景1

1.1 概述

我是 cancel savepoint 之后重启不行,直接启动又没事

cancel savepoint 之后重启不行 指定了 从savepoint, -s 指定了 地址
就是要 恢复状态,然后 就出现上述错误

错误如下:Caused by: org.apache.kafka.common.errors.InvalidPidMappingException: The producer attempted to use a producer id which is not currently assigned to its transactional id.

在这里插入图片描述
这个 kafka sink的参数 参数如下

猜你喜欢

转载自blog.csdn.net/qq_21383435/article/details/121426650
今日推荐