๐ ๏ธ Blank ฮผ-service with Hex Arch, DDD, SAGA, Outbox&Kafka¶
For full code visit Repository.
โ ๏ธ Replace blank with the Domain Name โ ๏ธ
Using Lg5 Spring 1.0.0-alpha
, JDK 21¶
๐ Build project¶
Install 1/1: Setup JDK 21.
Install ½: Install the dependencies in your project.
๐ Deploy with K8s¶
Use the infra repository blank-infra to deploy with K8s
๐Contents¶
- blank-acceptance-test
- blank-api
- blank-container
- blank-data-access
- blank-domain
- blank-external
- blank-message
๐ Run locally¶
You can ...¶
Using makefile
Start with infrastructure¶
๐ To start the Kafka Cluster and Postgres.
โ๏ธ To the Kafka Cluster and Postgres stop or destroy:
Run APP¶
๐ To start the blank Service.
blank API 1.0.0-alpha
¶
๐ blank API, Port:8181
Username:
None
Password:None
Database UI¶
๐ PgAdmin, Port:5013
Username:
blanksystem@db.com
Password:blanksystem-db
Kafka UI¶
๐ Kafka UI, Port:9080
Username:
None
Password:None
Contracts¶
AVRO MODELS from Avro Model definition¶
If you add a new Avro model, REMEMBER execute avro model again.
Logger & ELK¶
This project is prepared to send log files and process visualization with filebeat. You can specify the directory for stored the *.log files. Now, genera two file logs.
Simple log * [log.path]/[application_name]-simple.log
Complex log * [log.path]/[application_name]-complex.log
- Specify the directory with
log.path
property.
Simple: Simple details about application logs.
Complex: More details about application logs.
โ๏ธ License¶
The MIT License (MIT). Please see License for more information.