Here we go…
1. Spring and Java
A brief look at distributed tracing using Spring Cloud Sleuth, and a quick example of how to consume another GCP service using either its direct Java SDK or its REST API. Very cool.
A good introduction to the JEP-259 Stack-Walking API that lets you lazily traverse stack traces using the Stream API.
An overview of the latest features in JUnit 5, including parallel test execution, and finally, native support for the maven surefire and failsafe plugins.
A solid write-up about deadlocks in general, plus a scenario showing how the incorrect use of a thread pool can easily lead to deadlock.
And, a clever approach to testing application state, in which you model expected behaviors as a finite state machine and then check whether invariants and postconditions hold. Good stuff.
Also worth reading:
Time to upgrade:
2. Technical and Musings
If you want your automated tests to be a valuable part of your CI/CD strategy, first make sure that they are focused, informative, trustworthy, and repeatable — the four pillars of continuous testing.
A high-level overview of the architecture and design principles of Netflix's Keystone platform, along with some of the challenges faced in implementing a data pipeline and SPaaS at large scale.
A good write-up touting the merits of decoupling configuration parameters from deployed artifacts.
Also worth reading:
3. Comics
And my favorite Dilberts of the week:
4. Pick of the Week
res – REST with Spring (eBook) (everywhere)