> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcollate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure ingestion

**1.  Configure Metadata Ingestion**

In this step we will configure the metadata ingestion pipeline,
Please follow the instructions below

![Configure Metadata Ingestion](https://mintcdn.com/collatedocs/12mtkhFtvTP7FUxZ/public/images/connectors/configure-metadata-ingestion-messaging.png?fit=max\&auto=format\&n=12mtkhFtvTP7FUxZ\&q=85\&s=e8338e77a5bd984998fca6b4094b7b87)

#### Metadata Ingestion Options

* **Name**: This field refers to the name of ingestion pipeline, you can customize the name or use the generated name.
* **Topic Filter Pattern (Optional)**: Use it to control whether to include topics as part of metadata ingestion.
  * **Include**: Explicitly include topics by adding a list of comma-separated regular expressions to the 'Include' field. Collate will include all topics with names matching one or more of the supplied regular expressions. All other topics will be excluded.
  * **Exclude**: Explicitly exclude topics by adding a list of comma-separated regular expressions to the 'Exclude' field. Collate will exclude all topics with names matching one or more of the supplied regular expressions. All other topics will be included.
* **Ingest Sample Data (toggle)**: Set the 'Ingest Sample Data' toggle to ingest sample data from the topics.
* **Enable Debug Log (toggle)**: Set the 'Enable Debug Log' toggle to set the default log level to debug.
* **Mark Deleted Topics (toggle):** Set the 'Mark Deleted Topics' toggle to flag topics as soft-deleted if they are not present anymore in the source system.

> [!WARNING]
>
> **Topic filters do not protect topics from Mark Deleted Topics.**
>
> A topic that your Topic Filter Pattern leaves out (excluded, or not matched by an include rule) is skipped during ingestion, so the agent never sees it. If **Mark Deleted Topics** is on (the default), Collate soft-deletes every topic in the messaging service that this run did not ingest. This includes topics you created in the same service through the API.
>
> To avoid this, do one of the following:
>
> * Turn **Mark Deleted Topics** off (`markDeletedTopics: false` in YAML). Topics removed from the source are then no longer cleaned up automatically.
> * Keep topics you manage through the API in a separate messaging service from the one this agent ingests.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.