org.eso.ias.monitor.MonitorAlarmsProducer
See theMonitorAlarmsProducer companion object
class MonitorAlarmsProducer(val publisher: MonitorAlarmPublisher, val refreshRate: Long, id: String) extends Runnable
The alarms producer that periodically publishes the alarms defined in MonitorAlarm.
In this version the alarms are sent to the Kafka core topic as org.eso.ias.types.IASValue.
TODO: send the alarms directly to the webserver so that it works even if kafka is down
Value parameters
- id
-
The identifier of the Monitor
- publisher
-
the publisher of alarms
- refreshRate
-
The refresh rate (seconds) to periodically send alarms
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Runnableclass Objecttrait Matchableclass Any
Members list
In this article