Java Weekly, Issue 246

Here we go…

1. Spring and Java

>> Bootiful GCP: Use Spring Cloud GCP to Connect to Other GCP Services (7/8) [spring.io]

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.

>> Stackwalking in Java with StackWalker and Stream API [4comprehension.com]

A good introduction to the JEP-259 Stack-Walking API that lets you lazily traverse stack traces using the Stream API.

>> What’s New in JUnit 5.3 [medium.com]

An overview of the latest features in JUnit 5, including parallel test execution, and finally, native support for the maven surefire and failsafe plugins.

>> Thread pool self-induced deadlocks [nurkiewicz.com]

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.

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.

>> Keystone Real-time Stream Processing Platform [medium.com]

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.

>> Build Once, Run Anywhere: Externalize Your Configuration [reflectoring.io]

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

===== >> Real Work vs. Imaginary Work [m.signalvnoise.com]

Leave a Reply

Your email address will not be published.