internalBroker

Events triggered by the Kuzzle internal message broker, used to transmit data between Kuzzle instances.

EventTypeDescriptionPayload
internalBroker:connectedHookTriggered when the internal broker is connectedType: String.
'Connected to Kuzzle server'
internalBroker:errorHookTriggered when an error occured in internal brokerType: Object.
{host, port, message, retry}
internalBroker:reregisteringHookTriggered when the internal broker is reregisteredType: String.
'Re-registering room: ' + room
internalBroker:socketClosedHookTriggered when the socket is closedType: String