How to enable administrative functionality for batch job status notifcation in Spring XD distributed runtime system -
we have small cluster.in spring xd distributed runtime architecture component etl. have scheduled batch job in using cron.but when job fails or interrupted,we not getting notified on named channel or email , possible trigger batch jobs sending messages named channels?
currently,running on following environment:
spring xd distributed runtime - 1.2.1
hadoop distribution - phd3.0
any on appreciated.
you may need write own step handles notification you. in batch flow configure steps executed when other steps fail.
something like...
<job id="job"> <step id="stepa"> <next on="*" to="stepb" /> <next on="failed" to="notifyerroremail" /> </step> <step id="stepb".. /> <step id="notifyerroremail" /> </job>
you can read more in spring batch configuring steps
Comments
Post a Comment