span8
span4
span8
span4
Hi!I have a workspace with two HTTPCaller transformers.Both of their output ports are piped to some logic to generate features and write to database.There is a FeatureHolder between the HttpCallers and the writers,such that nothing will be written before all the HTTP calls are finished (either complete or error).
Both of the HTTPCaller
Any way I can make sure that?
Thank you!
It might be best to post a screenshot because its hard to get a true understanding of the actual configurations?
But if you have two httpcallers,and go out to one featureholder and terminator(s),the termination will occur before a feature gets released from the featureholder.This is the easiest.
If they are instead two httpcallers and going to two seperate featureholder then you run the risk oof one featureholder letting go.But there are numerous options that could be used in this instance,such as making sure the writer order to the database was set after something else,that would write only when things are correct.Or instead of the featureholder,you could use the featuremerger with something uncondtional (e.g.1= 1),passing the httpcaller output to the requestor andboththe rejected ports from the httpcallers to the suppliers.If a record merged you would terminate,while not merged could write to the database
© 2019 亚搏在线Safe Software Inc |Legal