
[英]Flink: Access Key in RichMapFunction applied on KeyedStream to handle stream keyed by Option
[英]Is the output stream of a keyedstream after passing through a connect with a broadcast stream keyed?
Is the output stream of a keyedstream after passing through a connect with a broadcast stream and then through process function still be a keyed stream?
不,这不对。
键控流的键未附加到 stream 记录或 stream 分区,而是在任何需要的地方使用键选择器 function。 这就是生成全新 ZF7B44CFFAFD5C52223D5498196C8A2E7BZ 记录(例如 windows 和过程函数)的运算符不发出键控流的原因。 一般来说,进程 function 的 output 可能与输入没有相似之处,因此原始键选择器 function 不再适用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.