【问题标题】:Share data between multiple topologies in Apache Storm在 Apache Storm 中的多个拓扑之间共享数据
【发布时间】:2014-08-14 04:26:53
【问题描述】:

我有关于 Apache Storm 的基本问题。 我们可以在两个不同的拓扑之间共享数据吗?因此,如果我的拓扑 A 具有

Spout_A >> Ab1 > Ab2 > Ab3

螺栓和我想要一个新的拓扑 B 想要重用 Ab2 的输出

Spout_B >> Bb1 > Ab2 > Bb2。

注意:上面提到的这两种拓扑是不同的 Storm 应用程序。

【问题讨论】:

  • 这可能有答案here

标签: real-time apache-storm distributed-computing hadoop-streaming


【解决方案1】:

除了Ab3的常规操作外,Ab2还可以写入一些消息总线(额外的bolt)

第二个拓扑可以监听那个总线

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-03-19
    • 1970-01-01
    • 1970-01-01
    • 2023-04-02
    • 2019-08-04
    • 1970-01-01
    • 1970-01-01
    • 2019-06-25
    相关资源
    最近更新 更多