Search code examples
apache-flinkflink-streaming

Apache Flink: Will processing only one Side Output cause memory issues on unused Side Outputs?


I'm filtering a stream using Side Outputs. I'll be processing one side output, but wanted to know how Flink will handle the unused side output. Will Flink's Garbage Collection take care of it? If not, what's the best practice to manage the unused side output in case it causes memory exceptions over time?


Solution

  • Not to worry. The events sent to the disconnected side output won't consume any resources.