Set up clean up windows in Spring boot starter camunda


#1

I want to setup the historyCleanupBatchWindowStartTime and historyCleanupBatchWindowEndTime property in spring boot app without changing default config. Where can I config this two property?
I config it in application.properties like below:
camunda.bpm.generic-properties.properties.historyCleanupBatchWindowStartTime=01:00
camunda.bpm.generic-properties.properties.historyCleanupBatchWindowEndTime=07:00
camunda.bpm.generic-properties.properties.historyCleanupStrategy=endTimeBased

How can I config these properties?

When I remove historyCleanupStrategy the cleanup is worked fine but with endTimeBased historyCleanupStrategy it didn’t work and there wasn’t any history-cleanup metric.