Giter Site home page Giter Site logo

bike-rental-extended's People

Contributors

abuijze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bike-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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.