OPI Blog
Learn from experts in their fields

Search Results for: Spring Boot

May 4, 2016
Graylog with Spring Boot: Open source log and event analysis
One of the most difficult things to do in any application is find a way to make use of the mountains of logs that are generated, especially in a Production environment. Over the years a ...
Spring Boot With (Pac4J) OAuth
Spring Boot With (Pac4J) OAuth This article is going to run through setting up a relatively simple application that utilizes Spring Boot, Thymeleaf and Pac4J Spring Security. The source code of where we end up ...
Intelligent microservice metrics with Spring Boot and Statsd
I’ve often heard the phrase “you can’t improve what you can’t measure.” When developing high-performance systems, this is especially true. Such systems typically have strict non functional requirements, such as requests/second and response time. When ...
Jan 20, 2015
Spring Boot: Power + Productivity
There’s a lot of hype these days around microservices and distributed architectures (and for good reason!). Unfortunately, the “traditional” Spring Framework was not a great candidate for this craze; mountains of configuration and boilerplate got ...
Nov 18, 2014
UDP Server with Spring Boot and Reactor
UDP support was added to the 1.1.0 release of project Reactor, but the web has been pretty quiet about it since. There are some good existing technologies out there if you need to write a ...
Resetting Database Between Spring Integration Tests
When tasked with having to write an integration test or a Spring Webflux test that uses a database, it can be cumbersome to have to reset the database between each test by using @DirtiesContext. Using ...
Sep 24, 2020
Setup Spring DataSource from values stored in AWS Secret Manager
I was tasked migrating an application to AWS recently. The company wanted the application to store the database credentials in AWS’s Secret Manager. The issue that I had is that if I setup a configuration ...
May 21, 2019
Speed Up Spock Spring Tests
This article follows up some excellent info on testing Spring with Spock here and here. Developing with Spring and testing with Spock means you’re using two of the best tools available on the JVM today. ...
Testing with Spring Kafka and MockSchemaRegistryClient
Spring Kafka provides a variety of testing utilities to make writing integration tests easier. Most notably, the @EmbeddedKafka annotation spins up an embedded broker (and zookeeper) available for tests. The address of the broker is set to ...
Configuring Kafka Topics with Spring Kafka
Here’s a common scenario, your engineering team decides to use Kafka and they start writing producers, consumers, connectors, streams, you name it. Before long, 6 engineers have manually created 20+ topics in the lower environment ...