Falcon supports SLA in feed and process.
Types of SLA supported for feed:
To know more about feedSla look at Feed Specification
Types of SLA supported for process:
To know more about processSla look at Process Specification
Falcon Entity Alerting service do the following things:
Entity SLA Alert service depends upon Falcon Entity SLA Monitoring to know which process and feed instances are to be monitored.
How to attach listeners:
You can write custom listeners to do some action whenever a process or feed instance misses its SLA. To attach listeners please add below property in startup.properties:
*.entityAlert.listeners=org.apache.customPath.customListener
Currently Falcon natively supports Back Log Emitter Service as a listener to EntitySLAAlert service
Other Services:
To enable Enity SLA Alerting service you need to enable Falcon Entity SLA Monitoring
Following properties are needed in startup.properties:
*.application.services=org.apache.falcon.service.EntitySLAAlertService *.entity.sla.statusCheck.frequency.seconds=600
Falcon Database:
Entity SLA Alerting service maintains its state in the database.It needs one table ENTITY_SLA_ALERTS please have a look at FalconDatabase to know how to create it.