MCD-LEVEL-1 · Question #139
A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the…
The correct answer is A. All processing of the batch job stops. In case of an error , batch job completes in flight steps and stops further processing. MuleSoft Doc Ref : Handling Errors During Batch Job | MuleSoft Documentation The default is all processing will stop but we can change it by Max Failed Record field. General -> Max Failed…
Question
A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?
Options
- AAll processing of the batch job stops.
- BEvent processing continues to the next batch step.
- CError is ignored
- DBatch is retried
How the community answered
(31 responses)- A84% (26)
- B6% (2)
- C3% (1)
- D6% (2)
Explanation
In case of an error , batch job completes in flight steps and stops further processing. MuleSoft Doc Ref : Handling Errors During Batch Job | MuleSoft Documentation The default is all processing will stop but we can change it by Max Failed Record field. General -> Max Failed Records: Mule has three options for handling a record-level error: Finish processing, Continue processing and Continue processing until the batch job accumulates a maximum number of failed records. This behavior can be controlled by Max Failed Records. The default value is Zero which corresponds to Finish processing. The value -1, corresponds to Continue processing. The value +ve integer, corresponds to Continue processing until the batch job accumulates a maximum number of failed records
Topics
Community Discussion
No community discussion yet for this question.