spring

A collection of 4 posts

How to add a listener port to Undertow in Spring Boot cover image
spring,  undertow

How to add a listener port to Undertow in Spring Boot

Super short post today. I couldn’t believe none has tried this before. We wanted to add a management port to separate traffic and…

Concurrency in Spring's StreamListener and Kafka cover image
spring,  kafka,  concurrency,  stream

Concurrency in Spring's StreamListener and Kafka

Another too fast, too furious post. I have spent a few hours trying to make my event processor multi-threaded, and it’s so damn easy that I…

A way to unify two authorization methods - Part I cover image
security,  startup,  spring,  microservices

A way to unify two authorization methods - Part I

Time to talk about security today. Security is one of the most important aspects of a system, and probably one of the most boring to…

How to mix Spring Data queries and MongoDB syntax cover image
spring,  mongodb,  tech,  pills

How to mix Spring Data queries and MongoDB syntax

I love writing queries using Spring Data’s Criteria. Writing queries directly in SQL (@NativeQuery, @Query) feels a bit dirty. And I also…