Richard Chesterwood has his say

Richard's Blog

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

JavaEE Delayed Again

21-Sep-2016 in JavaEE

It has been announced that JavaEE 8 has been delayed, yet again.

There's something very odd going on at JavaEE HQ.

Article from The Register here, and InfoQ here

Oracle are selling this as a good thing as it gives them a chance to "cope with the prevailing winds in development and deployment", which I read as "we're going to get microservicey and we're going to cram in some Dockerish type stuff as well".

READ MORE

Listen via:


About Richard

I'm a developer and trainer for Virtual Pair Programmers, where I present video based training courses on Java, Spring and associated frameworks. I don't wear ties anymore.


Be notified of new posts