Skip to main content

@backstage/plugin-catalog-backend-module-incremental-ingestion

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

Provides efficient incremental ingestion of entities into the catalog.

Classes

ClassDescription
IncrementalCatalogBuilder

Interfaces

InterfaceDescription
IncrementalEntityProvider

Ingest entities into the catalog in bite-sized chunks.

A Normal EntityProvider allows you to introduce entities into the processing pipeline by calling an applyMutation() on the full set of entities. However, this is not great when the number of entities that you have to keep track of is extremely large because it entails having all of them in memory at once. An IncrementalEntityProvider by contrast allows you to provide batches of entities in sequence so that you never need to have more than a few hundred in memory at a time.

IncrementalEntityProviderOptions

Type Aliases

Type AliasDescription
EntityIteratorResultValue returned by an IncrementalEntityProvider to provide a single page of entities to ingest.
IncrementalEntityEventResultAn object returned by event handler to indicate whether to ignore the event or to apply a delta in response to the event.
PluginEnvironment