Sink

Sink Service

class designate.sink.service.Service[source]

Bases: Service

static get_allowed_event_types(handlers)[source]

Build a list of all allowed event types.

info(context, publisher_id, event_type, payload, metadata)[source]

Processes an incoming notification, offering each extension the opportunity to handle it.

static init_extensions()[source]

Loads and prepares all enabled extensions

property service_name
start()[source]

Start a service.

stop(graceful=True)[source]

Stop a service.

Parameters:

graceful – indicates whether to wait for all threads to finish or terminate them instantly