https://github.com/alsahba/todoapp
ToDo Application with Kafka/ELK Stack
https://github.com/alsahba/todoapp
docker dockercompose elastic-search elasticsearch elk filebeat java-17 kafka kibana logstash postgresql spring-boot springboot
Last synced: 2 months ago
JSON representation
ToDo Application with Kafka/ELK Stack
- Host: GitHub
- URL: https://github.com/alsahba/todoapp
- Owner: alsahba
- Created: 2021-02-14T12:41:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-20T20:04:10.000Z (almost 4 years ago)
- Last Synced: 2025-01-11T02:18:14.104Z (about 1 year ago)
- Topics: docker, dockercompose, elastic-search, elasticsearch, elk, filebeat, java-17, kafka, kibana, logstash, postgresql, spring-boot, springboot
- Language: Java
- Homepage:
- Size: 186 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todoapp
It is an example of a todo application.
Tech-stack:
- Spring boot with Java 17
- Kafka
- Postgresql
- Docker
- ELK Stack (Logstash, Kibana, Elasticsearch, Filebeat) (8.1.0)
You can try the project by running in the main directory:
```docker-compose up```
For detached mode you can add -d flag:
```docker-compose up -d```
Then you can check out the logs in the kibana ```localhost:5061``` address.
After indexing ('todoapp-*' is usable), you can create data view in the kibana console
(Stack management -> Kibana -> Data views).
If you want to run the project without full dockerization and play with the code by yourself,
you can run the following commands for both infrastructure and elk stack:
```docker-compose -f elk_docker-compose.yml -p todoapp_elk up```
```docker-compose -f infra_docker-compose.yml -p todoapp_infra up```
Important: If you want to change the logstash.conf file be sure that the commands run must with the no-cache option.
Because it is layered configuration, commands must be ran again with respect to new version of configuration file.