Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果锚定到消息 id 的元组之一失败,其他元组会完全处理还是被风暴停止?
锚定到相同消息 id 的其他元组将继续正常处理。Storm 将立即使 spout 的消息 id 失败,这可能会导致 spout 重试根元组。
这种行为的原因是,让 spout 尝试告诉所有可能正在处理锚定到失败消息 id 的元组的螺栓,该元组已经失败,这将是困难/昂贵的。