Ask Your Question

How do I stop a pipeline after an API call?

asked 2019-10-24 07:51:39 -0500

mspatil gravatar image

updated 2019-10-24 17:18:42 -0500

metadaddy gravatar image

How do I configure a pipeline in SDC to stop itself automatically after getting a response from an API call and storing that information to the local filesystem using HTTP client origin?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-24 17:22:01 -0500

metadaddy gravatar image

Enable events on the Local FS destination, and attach the Pipeline Finisher executor. Configure the executor's pre-condition as ${record:eventType() == 'file-closed'} to ensure that the pipeline is only stopped when the file is closed.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-10-24 07:51:39 -0500

Seen: 76 times

Last updated: Oct 24 '19