Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[kapua-dev] service events code update (managing send error)

Hi everyone,

I pushed changes to the https://github.com/stefanomorson/kapua/tree/feature-serviceEvents branch according to the suggestions coming from Dejan.

The event status has 3 state
- TRIGGERED (the event is triggered by the platform and inserted in the table)
- SEND_ERROR (the event message send operation was failed for some reason so the message wasn’t sent)
- SENT (the event message was correctly triggered and sent by the platform)

Now the HouseKeeper processes the events only if they:
- are in the SEND_ERROR state (so the event message send operation failed for some reason)
- are in a TRIGGERED status for a while (configurable via a configuration parameter)

Any feedbacks are welcome!


Riccardo Modanese | EUROTECH


Back to the top