Create examples directory

This commit is contained in:
Harshal Sheth 2021-02-10 16:35:31 -08:00 committed by Shirshanka Das
parent fcd13000ef
commit 2ef62149ea
17 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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"]

View File

@ -2,7 +2,7 @@
source:
type: "file"
file:
filename: "./recipes/bootstrap_mce.json"
filename: "./examples/mce_files/bootstrap_mce.json"
sink:
type: "datahub-rest"

View File

@ -2,7 +2,7 @@
source:
type: "file"
file:
filename: "./recipes/single_mce.json"
filename: "./examples/mce_files/single_mce.json"
sink:
type: "console"

View File

@ -2,7 +2,7 @@
source:
type: "file"
file:
filename: "./recipes/single_mce.json"
filename: "./examples/mce_files/single_mce.json"
sink:
type: "datahub-kafka"

View File

@ -2,7 +2,7 @@
source:
type: "file"
file:
filename: "./recipes/single_mce.json"
filename: "./examples/mce_files/single_mce.json"
sink:
type: "datahub-rest"

View File

@ -2,7 +2,7 @@
source:
type: "file"
file:
filename: "./recipes/single_mce.json"
filename: "./examples/mce_files/single_mce.json"
sink:
type: "file"