From 6f40bd7cbc0419240bcec7b8525ef7b7bf57cf3a Mon Sep 17 00:00:00 2001 From: Ethan Li Date: Wed, 21 Feb 2018 15:31:32 -0600 Subject: [PATCH] [STORM-2969] remove @isDerivedFrom validation for topology.spout/bolt/backpressure.wait.strategy --- storm-client/src/jvm/org/apache/storm/Config.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/storm-client/src/jvm/org/apache/storm/Config.java b/storm-client/src/jvm/org/apache/storm/Config.java index ab427d20713..7a286d52071 100644 --- a/storm-client/src/jvm/org/apache/storm/Config.java +++ b/storm-client/src/jvm/org/apache/storm/Config.java @@ -866,9 +866,10 @@ public class Config extends HashMap { * * 1. nextTuple emits no tuples * 2. The spout has hit maxSpoutPending and can't emit any more tuples + * + * This class must implement {@link IWaitStrategy}. */ @isString - @isDerivedFrom(baseType = IWaitStrategy.class) public static final String TOPOLOGY_SPOUT_WAIT_STRATEGY = "topology.spout.wait.strategy"; /** @@ -903,9 +904,9 @@ public class Config extends HashMap { /** * Selects the Bolt's Wait Strategy to use when there are no incoming msgs. Used to trade off latency vs CPU usage. + * This class must implement {@link IWaitStrategy}. */ @isString - @isDerivedFrom(baseType = IWaitStrategy.class) public static final String TOPOLOGY_BOLT_WAIT_STRATEGY = "topology.bolt.wait.strategy"; /** @@ -945,9 +946,10 @@ public class Config extends HashMap { * * 1. nextTuple emits no tuples * 2. The spout has hit maxSpoutPending and can't emit any more tuples + * + * This class must implement {@link IWaitStrategy}. */ @isString - @isDerivedFrom(baseType = IWaitStrategy.class) public static final String TOPOLOGY_BACKPRESSURE_WAIT_STRATEGY="topology.backpressure.wait.strategy"; /**