I'm experiencing an issue with state management in my Flink job:
I have two Kafka sources that I'm unioning together and the second source uses a tumbling window based on processing time. I'm using RocksDB as the state backend In the Flink UI dashboard, I notice there are no watermarks enabled for this particular union/group by and I suspect the windows are never expiring from state My event time isn't critically important, so I don't want to use watermarks or tumble based on event time. While I could take savepoints periodically as a workaround, I'd prefer to understand what's happening first.
Any suggestions on how to debug this state expiration issue with processing time windows?
1 Answer 1
What makes you think there's an issue with the state? With RocksDB, state that has been deleted can take some time to actually be compacted and freed. By default, I believe compaction begins somewhere around 400MB.
2 Comments
globalState.Explore related questions
See similar questions with these tags.