haoch / flink-siddhi

A CEP library to run Siddhi within Apache Flink™ Streaming Application (Not maintained)
Apache License 2.0
243 stars 96 forks source link

OperationControlEvent enableQuery disables the query instead of enabling it. #8

Open aagupta1 opened 6 years ago

aagupta1 commented 6 years ago

From OperationControlEvent.java

public static OperationControlEvent enableQuery(String queryId) { return new OperationControlEvent(Action.DISABLE_QUERY, queryId); }

public static OperationControlEvent disableQuery(String queryId) {
    return new OperationControlEvent(Action.ENABLE_QUERY, queryId);
}
haoch commented 6 years ago

@aagupta1 would you mind I close the issue as it was resolved in #9?

aagupta1 commented 6 years ago

Please go ahead and close.

haoch commented 6 years ago

Thanks!