Apache Flink有可能在運行時動態添加新數據流而不重新啓動作業嗎? 據我瞭解,通常弗林克程序是這樣的: val env = StreamExecutionEnvironment.getExecutionEnvironment()
val text = env.socketTextStream(hostname, port, "\n")
val windowCounts = text.m
推拉窗我用這個代碼來執行我的測試(Flink Quick Start): val text = env.socketTextStream("localhost", port, '\n')
// parse the data, group it, window it, and aggregate the counts
val windowCounts = text
我創建一個測試,看看我的弗林克模式功能超時正確。我使用這個弗林克斯佩克特和我有以下測試用例: @Test
public void SameDoor_TwoStatuses_OneSecondTimeoutPattern() {
// Arrange
long now = new Date().getTime();
DoorEvent event1 = new Doo