【发布时间】:2016-09-06 11:17:30
【问题描述】:
假设我部署了一个有 2 个工作人员的拓扑,该拓扑有 1 个 spout 和 1 个 bolt,有 2 个任务。那么我的理解是,1个worker将运行spout executor和1个bolt executor,另一个worker将运行1个bolt executor。
我的理解正确吗?
如果我的理解是正确的,那么我的问题来了。假设螺栓是由 Python 实现的。由于storm通过stdout/stdin在多语言bolt之间传输数据,如果2个worker在不同的主机上运行,spout如何将数据发送到位于另一台主机上的bolt?
【问题讨论】:
标签: apache-storm