Skip to content
代码片段 群组 项目
未验证 提交 00f395bb 编辑于 作者: Bruno Cadonna's avatar Bruno Cadonna 提交者: GitHub
浏览文件

KAFKA-10199: Remove call to Task#completeRestoration from state updater (#12379)

The call to Task#completeRestoration calls methods on the main consumer.
The state updater thread should not access the main consumer since the
main consumer is not thread-safe. Additionally, Task#completeRestoration
changed the state of active tasks, but we decided to keep task life cycle
management outside of the state updater.

Task#completeRestoration should be called by the stream thread on
restored active tasks returned by the state udpater.

Reviewer: Guozhang Wang <guozhang@apache.org>
上级 5e4c8f70
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册