Showing all posts with the category : Spring Boot

Spring Boot

Problems with Spring Boot Eureka EIP Binding? Kill those Zombies.

09-Feb-2017 in Spring Boot Microservices Eureka

Warning this is a long blog! Full details of this will be available in next week's release of Microservice Deployment, from VirtualPairProgrammers!

This week I have been mainly getting Eureka into production. Specifically, I'm deploying to AWS, in a multi availability-zone configuration. I have an Auto Scaling Group firing up two instances, each in a different Availability Zone (AZ).

This has been, to put it mildly, an "interesting challenge". Obviously Netflix have a massive production load running on it - so we know it works! - but the documentation on how the rest of us should configure it is sketchy at the time of writing.

This blog concentrates on a problem which will be fixed in the forthcoming "Dalston" releases of Spring Cloud, but it may affect those on legacy code bases. (Also Dalston is due for release later in February and I can't delay the course any longer!)

READ MORE

Spring Boot Crashing Due to Unsatisfied Depedency?

16-Oct-2016 in Errata Spring Boot

We've just had a report of a possible bug on our Microservices course - your web application might fail to start up with something like the following in the Stacktrace:

Launcher.java:49) [spring-boot-devtools-1.4.1.RELEASE.jar:1.4.1.RELEASE]
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name 'positionTrackingExternalService': Unsatisfied dependency expressed through field 'remoteService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creat...
READ MORE

Microservices with Spring Boot: Release Date October 11 2016

06-Oct-2016 in Spring Boot Microservices

Microservices - it's nearly here!

We're approaching the end of an intense, exhausting but fun few weeks recording the new release, Microservices with Spring Boot. I'll put up a proper announcement with a preview video when it's finally out.

In the meantime, a few words about the thought process behind the course: whilst internally at VirtualPairProgrammers, we use Kubernetes for much of the orchestration of the microservices, we wanted a course that would integrate closely with our Spring and Spring Boot lines, which took us down the path of using Spring Cloud.

Spring Cloud, as you'll see on the course, is a superb collection of components, mainly derived from the work done at Netflix, which offers features such as service discovery, load balancing, fail safety/cirtcuit breaking and so on.

Whether you want to use Spring Cloud or not, the course is an in-depth starter to microservices. You'll be managing a small set of microservices which collaborate to provide a vehicle tracking front end:

READ MORE

Microservices Part 3 - How to call a Microservice

30-Aug-2016 in Spring Boot Microservices

I'm busy working away on a new Microservices using Spring Boot course for Virtual Pair Programmers. I hope my next blog post will be a draft running order with an estimated release date: in the meantime as promised I'm going to look at how to call a Microservice.

Along the way I'll point out how Spring Boot can help - at the same time this is helping me to decide what needs to be on the new course.

As per last week, my old monolith (which is eventually going to be broken down until nothing remains) is going to call a new Microservice, the "VAT service". It has a single responsiblity, to return the Tax due on an amount, based on the country of residence for a customer.

READ MORE

Microservices, Part 2 - how to deploy

03-Aug-2016 in Spring Boot Microservices

Here's the next in a short series (I think it will be three parts) where I'm musing about Microservices. My challenge is that VirtualPairProgrammers absolutely needs a course on it, but I'm not sure what form that will take. After writing these first two parts, I'm beginning to think that for development, we just need to extend our existing Spring Boot and JavaEE/Wildfly courses, but a further course on Deploying Microservices will be needed. This blog post will focus on that.

In part 3, I'll return to the "dev" side of things and look at how using events can make your system more loosely coupled.

READ MORE

Listen via:


Be notified of new posts