2019-12-18 18:57:18 -08:00
|
|
|
# DataHub MetadataChangeEvent (MCE) Ingestion Docker Image
|
2019-12-16 12:05:42 -08:00
|
|
|
|
2019-12-18 18:57:18 -08:00
|
|
|
Refer to [DataHub Metadata Ingestion](../../metadata-ingestion/mce-cli) to have a quick understanding of the architecture and
|
|
|
|
responsibility of this service for the DataHub.
|
2019-12-16 12:05:42 -08:00
|
|
|
|
|
|
|
## Build
|
|
|
|
```
|
|
|
|
docker build -t ingestion -f docker/ingestion/Dockerfile .
|
|
|
|
```
|
|
|
|
This command will build and deploy the image in your local store.
|
|
|
|
|
|
|
|
## Run container
|
|
|
|
```
|
2019-12-16 17:44:12 -08:00
|
|
|
cd docker/ingestion && docker-compose up
|
2019-12-16 12:05:42 -08:00
|
|
|
```
|
|
|
|
This command will start the container. If you have the image available in your local store, this image will be used
|
|
|
|
for the container otherwise it will build the image from local repository and then start that.
|
|
|
|
|
|
|
|
### Container configuration
|
|
|
|
|
2020-01-02 14:18:37 -08:00
|
|
|
#### Prerequisite Containers
|
|
|
|
Before starting `ingestion` container, `kafka`, `datahub-gms`, `mysql` and `datahub-mce-consumer` containers should already be up and running.
|