-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/IKC-403-demo' into IKC-403-demo
# Conflicts: # docs/configuration/kafka/AWS_MSK.md # docs/configuration/kafka/SASL_PLAIN.md # docs/configuration/kafka/TLS.md # docs/configuration/schema-registry/SCHEMA_REGISTRY_SSL.md # docs/configuration/schema-registry/SCHEMA_REGISTRY_SSL_BASIC_AUTH.md
- Loading branch information
Showing
20 changed files
with
216 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
## Custom context path | ||
|
||
If you want to expose Kouncil in custom context path you need to set Spring's `kouncil.context-path` parameter. | ||
In docker run command it will look like this | ||
If you want to expose Kouncil in a custom context path, you need to set | ||
Spring's `kouncil.context-path` parameter. | ||
In Docker run command it will look like this | ||
|
||
```bash | ||
docker run -d -p 80:8080 -e bootstrapServers="kafka1:9092" -e kouncil.context-path="/console" consdata/kouncil:latest | ||
``` | ||
After that, visit [http://localhost/console](http://localhost/console) in your browser, and you should be greeted by a login screen. | ||
|
||
After that, visit [http://localhost/console](http://localhost/console) in your browser, and you | ||
should see a login screen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
## Logging | ||
Kouncil supports logging to external log file. We suggest to use logback. If you want you can use our provided `logback.xml` file as it is or use it as a reference to create your custom one. | ||
If you use provided `logback.xml` logs will be placed under logs/kouncil.log | ||
|
||
Kouncil supports logging to an external log file, and we recommend using Logback. You can either use | ||
the provided `logback.xml` file as-is or use it as a reference to create your custom one. | ||
If you use the provided `logback.xml`, logs will be placed under logs/kouncil.log | ||
|
||
```bash | ||
docker run -d -p 80:8080 -e bootstrapServers="kafka1:9092" -e logging.config="path_to_your_logback_xml_file_in_docker_container" -v path_to_your_local_logback_xml_folder:/path_to_your_container_logback_xml_folder consdata/kouncil:latest | ||
``` | ||
If you want the logs to be accessible outside the docker container, you could pass another volume in docker run command like this: | ||
|
||
If you want the logs to be accessible outside the Docker container, you can add another volume to | ||
the Docker run command like this: | ||
|
||
```bash | ||
-v path_to_your_local_logback_xml_folder:path_to_docker_container_logs | ||
``` | ||
Also `path_to_docker_container_logs` should be equal to path in `appender/file` parameter in `logback.xml` | ||
|
||
Ensure that `path_to_docker_container_logs` matches the path specified in the `appender/file` | ||
parameter in your `logback.xml`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.