bike-rental-extended's People
Forkers
bv1p gwokudasam dgomezg dcaron test-driven-development nashidforbes sachemlal trimoq krishna7884 avallbike-rental-extended's Issues
Microservices applications do not work?
Hi Allard,
I am really interested in this application because I am trying to apply the monolith vs microservices approach for my application, which you implement in this one. Indeed, being able to run the application as a monolith (i.e. a single @SpringBootApplication, i.e. single JVM) for local development and/or as multiple microservices (i.e. multiple @SpringBootApplication, i.e. multiple JVMs) for remote environments is very interesting in terms of performance and modularity.
The problem is I can't make the microservices versions work. The Spring applications start normally, but no Axon event handler, command handler nor query handler is registered. Hence the application either stops normally (rental-query, rental-payment) or stays up but does nothing (rental-command, rental-ui).
The monolith application works and registers the handlers normally.
Here are the maven commands I used to start the services:
# microservices/rental-query
./mvnw spring-boot:run -pl microservices/rental-query
# microservices/rental-command
./mvnw spring-boot:run -pl microservices/rental-command
# microservices/rental-payment
./mvnw spring-boot:run -pl microservices/rental-payment
# microservices/rental-ui
./mvnw spring-boot:run -pl microservices/rental-ui
Also note that I have a standard version of Axon Server running at http://localhost:8124 and I can see in the application logs that they manage to connect successfully.
Is there something I am missing in the way I run the applications ?
Also, a README file would come handy to explain how to run this sample. Thanks!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.