added the configuration section to the README file
This commit is contained in:
parent
009735dc63
commit
bf3e1310af
1 changed files with 14 additions and 2 deletions
12
README.md
12
README.md
|
@ -21,6 +21,18 @@ gradlew build
|
||||||
docker compose up
|
docker compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
If wished, you can modify the configuration of the `docker-compose.yaml` file to fit your need.
|
||||||
|
|
||||||
|
The container `application` can be easily modified with the following environment variables :
|
||||||
|
|
||||||
|
| Name | Required | Format | Default | Description |
|
||||||
|
|------------------------------|----------|-----------------------------------------------------|--------------------------------------------------------------------|---------------------------------------------------------------|
|
||||||
|
| KAFKA_BOOTSTRAP_SERVERS | true | \<ip>[:port] | / | The Kafka server address |
|
||||||
|
| TOPIC_TEMPERATURE_CELSIUS | false | string of alphanumeric characters, ".", "_" and "-" | temperature-celsius | The name of the Kafka topic for the temperature in Celsius |
|
||||||
|
| TOPIC_TEMPERATURE_FAHRENHEIT | false | string of alphanumeric characters, ".", "_" and "-" | temperature-fahrenheit | The name of the Kafka topic for the temperature in Fahrenheit | |
|
||||||
|
| TEMPERATURE_LOCATION | true | \<latitude>, \<longitude> | 49.9, 2.3 ([Amiens, France](https://fr.wikipedia.org/wiki/Amiens)) | The coordinates were to get the temperatures from |
|
||||||
|
|
||||||
## Expectation
|
## Expectation
|
||||||
The `application` container shall print the current temperature at the selected place in
|
The `application` container shall print the current temperature at the selected place in
|
||||||
Fahrenheit every minute.
|
Fahrenheit every minute.
|
Loading…
Reference in a new issue