【发布时间】:2019-10-11 06:23:29
【问题描述】:
我已经实现了大小为 100 的翻转窗口(基于计数)。在运行拓扑时,我看到新元组的计数 (inputWindow.get) 和过期元组的计数 (inputWindow.getExpired) 都是 100。我已将消息时间设置为 600 秒。有了这个超时时间,我预计没有元组会过期。元组过期的原因可能是什么? 我已将螺栓设置为 bolt.withTumblingWindow(Count.of(100)) 螺栓的 parallelism_hint 为 120
builder.setBolt("bolt", bolt.withTumblingWindow(Count.of(100)), 120).shuffleGrouping("spout")
【问题讨论】:
标签: apache-storm