Skip to content

Commit

Permalink
doc (uservices/cds2es): configuration file example (#2410)
Browse files Browse the repository at this point in the history
  • Loading branch information
yesnault authored and sguiheux committed Mar 19, 2018
1 parent 5035ff6 commit df10e98
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions contrib/uservices/cds2es/README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit df10e98

Please sign in to comment.