apache-edgent

Is that possible to have the same behavior of CoFlatMapFunction using other basic operators?

强颜欢笑 提交于 2019-12-25 03:44:42
问题 Basically, I am using CoFlatMapFunction (https://ci.apache.org/projects/flink/flink-docs-stable/api/java/org/apache/flink/streaming/api/functions/co/CoFlatMapFunction.html) to filter a stream and change the filter parameters at runtime and I am using Flink for that. I want to do the same using Apache Edgent TStream (https://edgent.incubator.apache.org/javadoc/latest/org/apache/edgent/topology/TStream.html), but it does not have CoFlatMapFunction. If I use Union it will not work because the

Why isn't the filter method working?

断了今生、忘了曾经 提交于 2019-12-11 21:38:38
问题 As given in the docs of Apache Edgent I tried to filter out my sensor readings wherein the values of the temperature sensor must lie in between 80 to 85 F. But when I tried connecting my sensor the readings were 75F and no message was shown like: temperature is out of range . Is it that the filter method isn't working? if so please try help me out. thanks. the range values are set as: static double OPTIMAL_TEMP_LOW = 80.0; static double OPTIMAL_TEMP_HIGH = 85.0; static Range<Double>