TeslaCN commented on issue #1597:
URL: 
https://github.com/apache/shardingsphere-elasticjob/issues/1597#issuecomment-713380014


   Maybe we can simply configurations if only one error handler can be 
configured.
   
   ```
   
simpleJob.elasticJobClass=org.apache.shardingsphere.elasticjob.lite.example.job.SpringBootSimpleJob
   simpleJob.cron=0/5 * * * * ?
   simpleJob.shardingTotalCount=3
   simpleJob.shardingItemParameters=`0=Beijing,1=Shanghai,2=Guangzhou`
   
   simpleJob.extraConfigurations.errorHandler.webhook=my-webhook
   simpleJob.extraConfigurations.errorHandler.keyword=my-keyword
   simpleJob.extraConfigurations.errorHandler.secret=my-secret
   
   # simpleJob.extraConfigurations.errorHandler.host=smtp.myhost
   # simpleJob.extraConfigurations.errorHandler.port=465
   # simpleJob.extraConfigurations.errorHandler.username=my-username
   # simpleJob.extraConfigurations.errorHandler.password=my-password
   # [email protected]
   # [email protected]
   # simpleJob.extraConfigurations.errorHandler.debug=true
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to