在早期版本的Storm中,似乎可以通过将topology.backpressure.enable设置为false来禁用自动背压。但是,对于Storm的最新版本(我正在使用Storm2.1.0),这个选项已经被删除(或者还没有完全删除)。在Config的源代码中,我看到了以下代码片段:
/**
* Whether to enable backpressure in for a certain topology.
*
* @deprecated: In Storm 2.0. Retained for enabling transition from 1.x. Will be removed soon.
*/
@Deprecated
@IsBoolean
public static final String TOPOLOGY_BACKPRESSURE_ENABLE = "topology.backpressure.enable";有人知道如何禁用此功能吗?其目的是要对实验进行细粒度的控制,我希望避免此特性的副作用。
如有任何关于风暴自动背压的评论或评论,将不胜感激。
https://stackoverflow.com/questions/59774154
复制相似问题