![](/img/trans.png)
[英]Is that possible to have the same behavior of CoFlatMapFunction using other basic operators?
基本上,我正在使用CoFlatMapFunction( https://ci.apache.org/projects/flink/flink-docs-stable/api/java/org/apache/flink/streaming/api/functions/co/CoFlatMapFun ...
[英]Is that possible to have the same behavior of CoFlatMapFunction using other basic operators?
基本上,我正在使用CoFlatMapFunction( https://ci.apache.org/projects/flink/flink-docs-stable/api/java/org/apache/flink/streaming/api/functions/co/CoFlatMapFun ...
[英]How to change the operators at runtime of a Stream Dataflow program?
我想知道是否可以更改已經提交給Flink的作業的操作員。 假設我有一個單詞計數程序,並且上面有一個過濾器,只計算大於3個字符的單詞。 我想在運行時更改此過濾器的參數。 我的第一個猜測是Flink(以及其他數據流引擎Spark,Storm,Apache Edgent)無法執行此操作,因為該作 ...
[英]How to filter on Apache Edgent and also show the values which were filtered?
我正在使用Apache Edgent(Java框架)每3秒從Raspberry Pi上的HCSR04超聲波傳感器中輪詢一次值。 我使用濾鏡無法獲得50cm至80cm的值。 值過濾后,我想顯示一些消息。 當值與我的過濾器不匹配時,我可以輪詢它們,但是當它們不匹配時,我不返回值,這沒關系 ...
[英]How can I shutdown an Apache Edgent background task?
假設以下代碼段: 調用job = dp.submit(top) ,執行拓撲的線程將繼續在后台運行,直到JVM停止。 如何以編程方式停止此后台進程? 當Edgent拓撲作為單獨的進程與同一JVM中的其他任務一起運行時,這特別有用。 我試圖調用job.cancel(true) ,但 ...
[英]Why isn't the filter method working?
如Apache Edgent的文檔所述,我嘗試過濾掉傳感器讀數,其中溫度傳感器的值必須介於80至85 F之間。 但是,當我嘗試連接傳感器時,讀數為75F,沒有顯示如下消息: 溫度超出范圍 。 是filter方法不起作用? 如果是這樣,請嘗試幫助我。 謝謝。 范圍值設置為: ...
[英]what exactly is tuple in TStream?
這是從Apache Edgent文檔獲取的代碼 我不明白什么是元組。 代碼如下: 我得到的錯誤是元組無法解析為變量 。 我得到的錯誤到底是什么? 謝謝。 ...
[英]Joining streams of different types in Apache Edgent
我有3個訊息流: 我目前從3個JSON對象創建3個單獨的設備事件: 相反,我想通過將這些流連接在一起並創建具有三個屬性(Temperature,C02Level和isStationary)的1個JSON對象來創建單個事件。 ...
[英]How to filter a stream of tuple with Apache Edgent
我根據本手冊創建了一個源函數。 現在我想過濾這個流。 我有這樣的想法: 哪個不行。 有人知道如何過濾流嗎? 我不想更改請求網址以提前進行過濾。 ...
[英]What is the format of the optionsFile for the IotFDevice class in Quarks?
Quarks中的IotfDevice類具有一個帶有optionsFile的構造函數。 該文件的格式是什么,必要的值是什么? ...