2023-11-20 18:02:49 +09:00
|
|
|
# Sinks
|
|
|
|
|
|
|
|
Sinks are **destinations for metadata**.
|
|
|
|
|
|
|
|
<p align="center">
|
|
|
|
<img width="70%" src="https://raw.githubusercontent.com/datahub-project/static-assets/main/imgs/sources-sinks.png"/>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
In general, the sink will be defined in the [recipe](./recipe_overview.md) after the [source](./source-docs-template.md) like below.
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
source: ...
|
|
|
|
|
|
|
|
sink:
|
|
|
|
type: <sink_type>
|
|
|
|
config: ...
|
|
|
|
```
|
|
|
|
|
|
|
|
## Types of Sinks
|
|
|
|
|
|
|
|
When configuring ingestion for DataHub, you're likely to be sending the metadata to DataHub over either one of the following.
|
|
|
|
|
|
|
|
- [REST (datahub-rest)](sink_docs/datahub.md#datahub-rest)
|
|
|
|
- [Kafka (datahub-kafka)](sink_docs/datahub.md#datahub-kafka)
|
|
|
|
|
|
|
|
For debugging purposes or troubleshooting, the following sinks can be useful:
|
|
|
|
|
2024-06-11 11:44:13 -07:00
|
|
|
- [Metadata File](sink_docs/metadata-file.md)
|
2023-11-20 18:02:49 +09:00
|
|
|
- [Console](sink_docs/console.md)
|
|
|
|
|
|
|
|
## Default Sink
|
|
|
|
|
|
|
|
Since `acryl-datahub` version `>=0.8.33.2`, the default sink is assumed to be a `datahub-rest` endpoint.
|