mirror of
https://github.com/datahub-project/datahub.git
synced 2026-01-08 07:46:24 +00:00
Create examples directory
This commit is contained in:
parent
fcd13000ef
commit
2ef62149ea
@ -40,7 +40,7 @@ sink:
|
||||
Running a recipe is quite easy.
|
||||
|
||||
```bash
|
||||
gometa-ingest -c ./recipes/kafka_to_datahub_rest.yaml
|
||||
gometa-ingest -c ./examples/recipes/kafka_to_datahub_rest.yaml
|
||||
```
|
||||
|
||||
A number of recipes are included in the recipes directory.
|
||||
@ -49,7 +49,7 @@ A number of recipes are included in the recipes directory.
|
||||
## Build the image
|
||||
- source docker/docker_build.sh
|
||||
|
||||
## Run an ingestion script (recipes/file_to_file.yml)
|
||||
## Run an ingestion script (examples/recipes/file_to_file.yml)
|
||||
We have a simple script provided that supports mounting a local directory for input recipes and an output directory for output data
|
||||
- source docker/docker_run.sh recipes/file_to_file.yml
|
||||
- source docker/docker_run.sh examples/recipes/file_to_file.yml
|
||||
|
||||
|
||||
@ -46,5 +46,3 @@ USER datahub
|
||||
|
||||
#EXPOSE PORT_NUM
|
||||
ENTRYPOINT ["gometa-ingest"]
|
||||
#TODO: Make the config file configurable through docker env variable
|
||||
#CMD ["-c","/datahub-ingest/recipes/kafka_to_console.yaml"]
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
source:
|
||||
type: "file"
|
||||
file:
|
||||
filename: "./recipes/bootstrap_mce.json"
|
||||
filename: "./examples/mce_files/bootstrap_mce.json"
|
||||
|
||||
sink:
|
||||
type: "datahub-rest"
|
||||
@ -2,7 +2,7 @@
|
||||
source:
|
||||
type: "file"
|
||||
file:
|
||||
filename: "./recipes/single_mce.json"
|
||||
filename: "./examples/mce_files/single_mce.json"
|
||||
|
||||
sink:
|
||||
type: "console"
|
||||
@ -2,7 +2,7 @@
|
||||
source:
|
||||
type: "file"
|
||||
file:
|
||||
filename: "./recipes/single_mce.json"
|
||||
filename: "./examples/mce_files/single_mce.json"
|
||||
|
||||
sink:
|
||||
type: "datahub-kafka"
|
||||
@ -2,7 +2,7 @@
|
||||
source:
|
||||
type: "file"
|
||||
file:
|
||||
filename: "./recipes/single_mce.json"
|
||||
filename: "./examples/mce_files/single_mce.json"
|
||||
|
||||
sink:
|
||||
type: "datahub-rest"
|
||||
@ -2,7 +2,7 @@
|
||||
source:
|
||||
type: "file"
|
||||
file:
|
||||
filename: "./recipes/single_mce.json"
|
||||
filename: "./examples/mce_files/single_mce.json"
|
||||
|
||||
sink:
|
||||
type: "file"
|
||||
Loading…
x
Reference in New Issue
Block a user