flink connect
时间: 2023-09-11 11:10:29 浏览: 99
Flink广播流 BroadcastStream.pdf
在Flink中,connect是用来连接两个数据流的方法。与union不同的是,connect可以连接两个数据流并且它们的数据类型可以不一致。而union只能连接多个数据流,并且这些数据流的数据类型必须一致。当两个DataStream通过connect方法连接之后,它们会被转化为ConnectedStreams,这个ConnectedStreams可以对两个流的数据应用不同的处理方法,并且双流之间还可以共享状态。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [flink中union 和connect学习记录](https://blog.csdn.net/qq_22905163/article/details/126493958)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Flink,join,coGroup,connect,union的区别、使用和实](https://blog.csdn.net/u010002184/article/details/106800819)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文