Hi Completed jobs are staying on the Flink dashboa...
# troubleshooting
a
Hi Completed jobs are staying on the Flink dashboard, and not getting cleaned. I'm using this configuration:
config.setLong("jobstore.expiration-time", 60L);
config.setInteger("jobstore.max-capacity", 2);
What am I missing?
d
Always indicate your flink version. I am going to assume its above 1.14 so to affect this should be using
Copy code
config.setLong("jobmanager.archive.retention-time", 60 * 1000L); // 60 seconds
and
Copy code
config.setInteger("jobmanager.archive.max-history-size", 2); // keeps at most 2 jobs in the archive
adjusted for your requirements.