Skip to main content

Presence Events

Presence lifecycle events published to the presence-events Kafka topic.

Source: Presence Service

Events

presence.online

Emitted when a user comes online in a room.

FieldTypeRequiredDescription
user_idstring (uuid)YesUser identifier.
room_idstring (uuid)YesRoom the user is in.
display_namestringNoUser's display name.
tenant_idstring (uuid)NoTenant identifier.

presence.offline

Emitted when a user goes offline.

FieldTypeRequiredDescription
user_idstring (uuid)YesUser identifier.
room_idstring (uuid)NoRoom the user was in.
tenant_idstring (uuid)NoTenant identifier.
reasonstringNoOne of: leave, disconnect, ttl_expired.

presence.idle

Emitted when a user becomes idle.

FieldTypeRequiredDescription
user_idstring (uuid)YesUser identifier.
idle_sincestring (date-time)NoWhen the user became idle.