From df10e98443ac9a367cd0e2983e819feda21c3f1d Mon Sep 17 00:00:00 2001 From: Yvonnick Esnault Date: Mon, 19 Mar 2018 14:13:30 +0100 Subject: [PATCH] doc (uservices/cds2es): configuration file example (#2410) --- contrib/uservices/cds2es/README.md | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/contrib/uservices/cds2es/README.md b/contrib/uservices/cds2es/README.md index 78ccabf287..5db4213cdc 100644 --- a/contrib/uservices/cds2es/README.md +++ b/contrib/uservices/cds2es/README.md @@ -1 +1,34 @@ # CDS to ES + +## Configuration file + +```toml + +[Debug] + log_level = "info" + +[ElasticSearch] + domain = "your-es" + index = "your-index-cds" + password = "your-token" + port = "9200" + protocol = "https" + username = "your-username" + +[Kafka] + brokers = "your-broker:9093" + group = "your-group" + password = "your-kafka-password" + topic = "your-topic" + user = "your-kafka-user" + +[Http] + port = 9085 + +``` + +## Run it + +```bash +cds2es -f config.yml +``` \ No newline at end of file