Skip to main content
Version: Next

IncrementalEntityProvider.eventHandler

Home > @backstage/plugin-catalog-backend-module-incremental-ingestion > IncrementalEntityProvider > eventHandler

If set, the IncrementalEntityProvider will receive and respond to events.

This system acts as a wrapper for the Backstage events bus, and requires the events backend to function. It does not provide its own events backend. See https://github.com/backstage/backstage/tree/master/plugins/events-backend.

Signature:

eventHandler?: {
onEvent: (params: EventParams) => Promise<IncrementalEntityEventResult>;
supportsEventTopics: () => string[];
};