Home »
MCQs »
Apache Flink MCQs
The ____ function partitions a data stream based on a given key or key field
30. The ____ function partitions a data stream based on a given key or key field.
- Key()
- KeyStream()
- KeyBy()
- KeyField()
Answer: C) KeyBy()
Explanation:
The keyBy() function partitions a data stream based on a given key or key field.