Trigger an extra action (java) when time to live on document expires?

Hi All,
Is there any way to get notified when a time to live (TTL) on a specific document expires ?
What I’m thinking is when time to live on a specific document with say doc_type = “sometype” is reached have a java hook to listen and send the document to e.g. Kafka / Hadoop .

Any ideas ?

Best Regards
George

This is a use case that fits a simplified DCP stream. @tgreenstein will surely be able to tell you more about this :slight_smile:

1 Like

Yes, this is possible through DCP - since you mentioned kafka, I believe the connector provides this functionality but @avsej may be able to clarify!

@GeorgeLeon did you able to find out solution?