How jhtc5898/transaccionessofka works
Project type and purpose
• This is a container-based, microservices architecture for managing client movements and transactions, with service discovery (Eureka), asynchronous messaging (Kafka), and per-service Postgres databases. An orchestrator service composes functionality across other services.
File structure
• Top-level modules:
• Movimientos_Cliente – client-oriented REST service (produces Kafka events)
• Movimientos_Entidad – exposes entity data (CRUD on accounts, clients, movements)
• Movimientos_Transaccion – transaction processor (consumes client events via Kafka, writes to its DB, exposes reports)
• Movimientos_Eureka – Eureka service registry/discovery
• Orquestador – orchestrator that invokes each microservice via HTTP to compose end-to-end flows
• Each service contains: Dockerfile, application.properties, Maven wrapper, src/main/java, tests, SQL init scripts, docker-compose snippets, and configDocker artifacts.
• Root docker-compose.yml and supporting kafka.yml, postgres.yml orchestrate all containers.
README
• Confirms container-based architecture.
• Command “docker-compose up” spins up all services.
• Eureka dashboard available at localhost:8761.
• Postman collection provided for API testing.
Detail level
• Microservice as an independent “container.”
• Inside each, optionally note key packages (controllers, services, repos).
• Init SQL sequence for each Postgres.
• Docker-Compose networks or volumes.