I'm using redis connection pool in my flink job. I need to release all connections when the job get cancelled or finished.
How can I add a shutdown hook for my flink job?
I'm using redis connection pool in my flink job. I need to release all connections when the job get cancelled or finished.
How can I add a shutdown hook for my flink job?