Sorry for the noise, found the option in the queue configuration meanwhile: 
https://github.com/apache/sling-org-apache-sling-event-api/blob/5355bc5675b1afc8b26006ea9188d5ef6e25bd7c/src/main/java/org/apache/sling/event/jobs/QueueConfiguration.java#L89

However this option is not exposed for the main queue 
https://github.com/apache/sling-org-apache-sling-event/blob/master/src/main/java/org/apache/sling/event/impl/jobs/config/MainQueueConfiguration.java.

Will try to clarify the documentation a bit in this regard,
Konrad

> On 19. Aug 2025, at 10:16, Konrad Windszus <[email protected]> wrote:
> 
> Hi,
> It seems that all Job metadata is immediately removed from the repository 
> once the job is finished successfully. Is there any way (through dedicated 
> job properties or a queue configuration) to somehow defer this cleanup and 
> also keep the completed jobs in the repo for a little while (similar to the 
> failed ones)?
> 
> Thanks in advance,
> Konrad

Reply via email to