Ask Your Question

How to stop Data Collector pipeline after calling API using HTTP Client origin and storing result in Local FS?

asked 2019-12-18 06:59:58 -0600

mspatil gravatar image

updated 2019-12-18 13:19:33 -0600

metadaddy gravatar image

How can I stop a pipeline automatically after calling an API using the HTTP Client origin and storing result in the Local Filesystem? I have tried using Pipeline Finisher Executor at LFS where i added precondition as ${record:eventType() == 'file-closed'}.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-12-18 13:18:17 -0600

metadaddy gravatar image

updated 2019-12-18 13:19:49 -0600

In the HTTP tab, set the Mode to Batch and the pipeline will stop after a single request. You do not need to use a Pipeline Finisher.

This is documented fully in Processing Mode.

edit flag offensive delete link more


Thanks Pat,it is working.

mspatil gravatar imagemspatil ( 2019-12-19 01:34:43 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-12-18 06:59:58 -0600

Seen: 29 times

Last updated: Dec 18 '19