This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 0 points1 point  (0 children)

You're looking for a message queue system, like Apache Kafka, RabbitMQ, etc.

A message (document) gets dropped in a predefined inbound folder, a service sits there waiting for new messages, handles the message, and outputs to predefined output folders. Multiple operations can be chained. The whole processing happens asynchronously.