Heartbeat
The SSE endpoint, to be able to keep a long connection in case no events are coming from the different Empego service, will send an event every 45 seconds starting after an event is sent. There is no reason to manage this event, it just exists to keep the connection alive.
Event wrapper values
Field | Values |
---|---|
eventType | heartbeat |
operation | STRING |
Example
{
"id": "6866479d-ef08-44d3-9335-518eab0f7ad5",
"createdAt": "2024-03-25 15:41:44.388",
"eventType": "heartbeat",
"operation": "create",
"tenantKey": "11f81012-9519-11ee-XXXX-0244cd4cfa84"
}