mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 03:09:12 +00:00
The environment was not set correctly, so it could not fire kafka events. It (mce-cli) always worked when running outside of docker. I also added a dev ingestion docker image / script which may be much faster if you've already built locally. Tested: 1. Cleaned docker volumes and started datahub. Verified it is empty. 2. Built with gradle. 3. Ran ./docker/ingestion/ingestion-dev.sh. Verified data shows in DataHub. 4. Ran step 1 again. 5. Ran ./docker/ingestion/ingestion.sh. Verified data shows in DataHub.
18 lines
402 B
YAML
18 lines
402 B
YAML
---
|
|
version: '3.5'
|
|
services:
|
|
ingestion:
|
|
image: datahub-ingestion
|
|
env_file: env/docker.env
|
|
build:
|
|
context: ../../
|
|
dockerfile: docker/ingestion/Dockerfile
|
|
hostname: ingestion
|
|
container_name: ingestion
|
|
environment:
|
|
- KAFKA_BOOTSTRAP_SERVER=broker:29092
|
|
- KAFKA_SCHEMAREGISTRY_URL=http://schema-registry:8081
|
|
|
|
networks:
|
|
default:
|
|
name: datahub_network |