bipinprasad commented on a change in pull request #3328:
URL: https://github.com/apache/storm/pull/3328#discussion_r482317763
##########
File path: storm-client/src/jvm/org/apache/storm/Config.java
##########
@@ -346,6 +345,14 @@
*/
@IsExactlyOneOf(valueValidatorClasses = {
ListOfListOfStringValidator.class, RasConstraintsTypeValidator.class })
public static final String TOPOLOGY_RAS_CONSTRAINTS =
"topology.ras.constraints";
+ /**
+ * Declare scheduling constraints for a topology.
+ * @deprecated please use TOPOLOGY_RAS_CONSTRAINTS.
+ */
+ @Deprecated
+ @CustomValidator(validatorClass = ListOfListOfStringValidator.class)
+ public static final String TOPOLOGY_CONSTRAINTS = "topology.constraints";
Review comment:
Will remove this. No point adding a new deprecated variable.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]