OPI Blog
Learn from experts in their fields

Browsing Tags: gradle

May 10, 2022
Kafka Schema Evolution With Java Spring Boot and Protobuf
In this blog I will be demonstrating Kafka schema evolution with Java, Spring Boot and Protobuf.  This app is for tutorial purposes, so there will be instances where a refactor could happen. I tried to ...
Jul 15, 2020
AWS CodeBuild Test Reports for Gradle builds
Although AWS documentation has instructions for adding Test Reports for a maven build they currently lack instructions for a gradle build. You can find the maven instructions here: https://aws.amazon.com/blogs/devops/test-reports-with-aws-codebuild/ Assuming you have your gradle wrapper ...
Dec 12, 2018
Open Source InfoSec Using Gradle
Information security needs to be a part of any application. Solutions range in price from no cost to very expensive. However, quality is usually proportional to cost (but not always). We are going to ...
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 ...
Converting Maven Dependencies to Gradle
I had the, er, honor of converting an old ANT build to Gradle. It was one of those with the directories filled with jars and was having a hard time figuring out what dependency was ...
Jul 17, 2018
Using Git within Gradle
I had a task to have a Gradle build look at the Git branch name and set a different variable based on what branch was. I could have made a system call to git but ...
Building a Kafka Connector with Gradle
Kafka is an exciting space and what I have been finding most exciting is the data streaming aspect of it. Kafka Connectors are the bookends to a powerful streaming engine that quickly transform and analyze ...
Passing Command Line Arguments to a Spring Boot Application via a bootRun Task in Gradle
There currently seems to be no easy way to pass arguments to a Spring Boot application launched using the bootRun task in Gradle. There are plenty of stack overflow questions asking about this and at ...
Nov 8, 2017
Handy Gradle Recipes
I’ve been trying to simplify my tools lately – less reliance on Intelij IDEA and using the command line more and more. At times, I feel like my workflow has sped up because of a ...
Functional Testing With Embedded Kafka
Spring publishes a spring-kafka-test library that is promoted as a way to do some unit testing with Kafka. The project I’m currently working on reads messages from a JMS queue, does some transforming of that ...