Kafka producer and consumer written with Kotlin

April 03, 2021
kafkakotlin

I wanted to write a short and sweet blog post on writing a Kafka producer and consumer in Kotlin before delving deeper into the topic of…

Running Kafka locally with Docker

March 28, 2021
kafkadocker

There are two popular Docker images for Kafka that I have come across: Bitmami/kafka (Github) wurstmeister/kafka (Github) I chose these…

Public val with a private backing field

March 14, 2021
kotlin

As learnt through many years of writing Java code, we have come to the collective decision to use getters and setters instead of directly…

All experience matters

March 12, 2021
general

I wanted to write down my thoughts about “experience” as it is something that I have been thinking about over the last couple of months…

Backwards compatibility of Kotlin's default arguments

March 07, 2021
kotlin

Kotlin’s default arguments can make APIs easier to understand as a user and more effortless to write as a developer. No more manually…

Sending a HTTP request in Apache Flink

February 07, 2021
javaapache flinkflink

You can send a HTTP request in an Apache Flink application using code similar to the following: The HTTP client you use doesn’t have to be…

Processing tweets with Apache Flink and the Twitter API

January 31, 2021
javaapache flinkflinktwitterstream processing

Recently I have been playing around with Apache Flink and decided to use the Twitter API as a datasource for my endeavor. This post is…

Jackson - Deserialize subtypes without annotations

January 30, 2021
javajackson

Sometimes you can’t or don’t want to use Jackson annotations to control your JSON serialization and deserialization. Unfortunately, Jackson…

Providing your own Jackson ObjectMapper in Quarkus

December 07, 2020
javaquarkusjackson

I am writing this short post after me, and a colleague had a painful experience trying to get Jackson working in a Quarkus application. The…

Missing DataSource in Quarkus

October 15, 2020
javaquarkus

If you see an error like this while developing a Quarkus application that uses Agroal as its : Please scroll up 1 line in your logs (or…

All posts