2024-06-11 11:44:13 -07:00
|
|
|
# Metadata File
|
2021-08-08 16:40:51 -04:00
|
|
|
|
|
|
|
For context on getting started with ingestion, check out our [metadata ingestion guide](../README.md).
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
Works with `acryl-datahub` out of the box.
|
|
|
|
|
|
|
|
## Capabilities
|
|
|
|
|
|
|
|
Outputs metadata to a file. This can be used to decouple metadata sourcing from the
|
|
|
|
process of pushing it into DataHub, and is particularly useful for debugging purposes.
|
2024-06-11 11:44:13 -07:00
|
|
|
Note that the [file source](../../docs/generated/ingestion/sources/metadata-file.md) can read files generated by this sink.
|
2021-08-08 16:40:51 -04:00
|
|
|
|
|
|
|
## Quickstart recipe
|
|
|
|
|
|
|
|
Check out the following recipe to get started with ingestion! See [below](#config-details) for full configuration options.
|
|
|
|
|
|
|
|
For general pointers on writing and running a recipe, see our [main recipe guide](../README.md#recipes).
|
|
|
|
|
|
|
|
```yml
|
|
|
|
source:
|
|
|
|
# source configs
|
|
|
|
|
|
|
|
sink:
|
|
|
|
type: file
|
|
|
|
config:
|
2024-12-16 20:08:21 +00:00
|
|
|
filename: ./path/to/mce/file.json
|
2021-08-08 16:40:51 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
## Config details
|
|
|
|
|
|
|
|
Note that a `.` is used to denote nested fields in the YAML recipe.
|
|
|
|
|
2025-04-16 16:55:51 -07:00
|
|
|
| Field | Required | Default | Description |
|
|
|
|
| ----- | -------- | ------- | ------------------------- |
|
|
|
|
| path | ✅ | | Path to file to write to. |
|