It took me a while to find and did need a combination of multiple sources to get Spring Batch Kafka working with SASL_PLAINTEXT authentication. So let me show you how I did it. Keep in mind it is just a starting configuration so you get a connection working. application.yaml
Three days of conference, Quarkus all the way
At the beginning of February, the biggest Scandinavian developer conference “JFokus” took place in Stockholm. Within 3 days there were many interesting lectures on topics like “Distributed data management in a microservice architecture”, a workshop on how to write your own Java agents, several lectures on garbage collectors and memory optimization. But the most common […]
Improved pipeline build time with Maven, Jenkins and Surefire
Currently, I am dealing with a bug that leads to unstable build times. The setup consists of Jenkins, Maven and the Surefire Test plugin. Through this work, I’ve come across the fact that all the optimizations we use on our developer machines never found their way into our Jenkins pipeline. So then I started tuning […]
Why your stateless Spring Boot Service still creates HTTP sessions
About two years ago I rolled out the first productive Spring Boot application within OpenShift. One of the problems we met back then was opening HTTP sessions even though we only rolled out a stateless REST server. A few days ago, there were problems with another REST service. When I was called up and saw […]
Java 8 vs Java 11 – Productive business application benchmark
Last week I could finally migrate a productive business application from Java 8 to Java 11. Until now the Continues Integration Pipeline didn’t support Java 11 completely. As that changed last week I could finally deploy the application on the clients OpenShift cluster. The application is a simple CRUD-Rest Service on top of an Oracle […]
Faster Maven Builds
Last week I received a project laptop update. From 2 CPU cores it went up to 4 cores. Also the rest of the equipment suggests that the build time should be reduced significantly. But build time did not change at all on the new laptop:
Retry handling with Swagger API Client and Failsafe using Java 1.7
My customer uses a generated Swagger API Client to use a REST Server from a monolithic application. Unfortunatly the monolith is stuck on Java 1.7. I did find the FailSafe Framework which would do exactly what we needed. With the exception being that every example code was using lambdas 😀 So I had to work […]