Shuyi Chen
10/02/2024, 8:05 AMOscar Westra van Holthe - Kind
10/02/2024, 8:51 AMreinterpretAsKeyedStream, but use with caution: Flink key groups are not the same as Kafka partitions. They can be similar enough to make the method useful though, but that depends on your use case.
This method should not be used when there is a chance that a key is distributed into multiple partitions, as happens when you add partitions to a topic.
For more information:
https://stackoverflow.com/a/72629308/3169109
https://nightlies.apache.org/flink/flink-docs-master/docs/concepts/stateful-stream-processing/#~text=Key%20Groups%20are%20the%20atomic,one%20or%20more%20Key%20Groups.Jacob Jona Fahlenkamp
10/02/2024, 2:15 PMShuyi Chen
10/02/2024, 5:23 PMShuyi Chen
10/02/2024, 5:27 PMShuyi Chen
10/02/2024, 5:51 PMJacob Jona Fahlenkamp
10/02/2024, 10:09 PM