@Override
    public void close() throws Exception {
        closeClient();

        super.close();

        LOG.info("Closed redis sink.");
    }
The stop watch to measure time duration.
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/redis/src/main/java/org/apache/inlong/sort/redis/sink/AbstractRedisSinkFunction.java