Microservice. Blog. Query side. Materialized view.
Run RabbitMQ
$ brew services start rabbitmq
Make sure that services are running:
Dependencies:
$ cd my-company-blog-materialized-view-microservice
$ ./mvnw spring-boot:run
Application will be available on port 8081 (http://localhost:8081)
$ curl http://localhost:8081/blogposts
Open RabbitMQ management web console at http://localhost:15672/ and explore exchanges, queues and messages.
username: guest password: guest
Open Registry (Eureka) web console at http://localhost:8761/ and find ‘my-company-blog-materialized-view-microservice’ registered.