- Awesome Task Exchange System (aTES)
- Services
- Deploy
- Changes in events and migration process
- Shame/TODO list
Asynchronous architecture studying project for: https://education.borshev.com/architecture.
Initial structure: LucidChart, PDF
Business Processes: LucidChart, PDF
Domain and models: LucidChart, PDF
System events: LucidChart, PDF
- SSO: http://localhost:4000/auth
- Task tracker: http://localhost:4100/main
- Accounting: http://localhost:4200/main
- Analytics: http://localhost:4300/main
Credentials:
pass | |
---|---|
[email protected] | admin |
[email protected] | manager |
[email protected] | accountant |
[email protected] | worker0 |
[email protected] | worker1 |
[email protected] | worker2 |
- You probably should try to increase
docker
memory allocation to6GB
or more (with less memory you may get problem withkafka
deployment) - To monitor all 21 containers that will be deployed might be useful https://github.com/bcicen/ctop
- Deploy
kafka
$ docker-compose -f services/kafka/docker-compose.yml up
broker
might crashed on first launch (especially if you don't increasedocker
memory allocation), so better to:- check that
broker
working (after ~1 min after deployingkafka
):$ docker ps
- restart
broker
, if needed:$ docker-compose -f services/kafka/docker-compose.yml restart broker
- check that
- Deploy services
$ ./deploy_services
Popugs creates titles that looks like: [jira-id] - Title
title
must be divided on two fields: title
and jira-id
- In
event_schema_registry
must be created new version ofTask.Created
event - Consumers of
Task.Created
event must be updated to be able to consume new version and deployed simultaneously with old version - Producer of
Task.Created
event must be updated to be able to produce new version and deployed (without old version) - Shut down old consumer
- ...
- profit?
Popugs can't figure out what open
/closed
tasks status mean
open
/closed
must be change to birdie in a cage
/millet in a bowl
- Code in
Task tracker
must be changed (values in status enum) - Migration must be prepared for database, that will map
open
/closed
tobirdie in a cage
/millet in a bowl
- Shut down old version of
Task tracker
- Make migration
- Deploy new version
- ...
- profit?
- Little rework of tasks streaming (prices setting must be a cud event)
- Add version check (so consumers process only 1 version of event)
- Little rework of business events
- Remove transactions streaming (transaction is a business event, because it is a result of business command)
- Add fabulous documentation
- Beautify code