Dan Newton

Dan Newton @lankydandev

About: I write tutorials on my blog at www.lankydan.dev . During the day, I am a Platform Engineer at r3 where I work on Corda, an Open Source DLT/Blockchain Platform.

Location:
Reading
Joined:
Sep 19, 2018

Dan Newton
articles - 60 total

I rarely need Stack Overflow anymore

I noticed recently that my dependence on Stack Overflow and similar platforms has wained as I have...

Learn More 0 0Jun 25 '22

Using GraphQL Java with Spring

GraphQL Java is one of the most popular GraphQL server-side implementations for Java that I've found...

Learn More 5 0Jan 10 '22

Intro to Kafka - Ordering related records

Ordering records in Kafka requires you to make a conscious decision to construct your system in a way...

Learn More 4 0Aug 6 '21

Intro to Kafka - Consumer groups

Consumers can form groups, aptly named “consumer groups”. These consumer groups determine what...

Learn More 2 0Aug 6 '21

Intro to Kafka - Consumers

Consumers make up the Kafka client code that reads records from topics, working at the opposite end...

Learn More 2 0Aug 6 '21

Intro to Kafka - Producers

Producers make up the Kafka client code that sends records to topics. These clients dramatically...

Learn More 4 0Aug 6 '21

Intro to Kafka - Topics and partitions

Topics Kafka, at a high level, stores records in topics. When handing a new record off to...

Learn More 7 0Aug 6 '21

What The Mandalorian (season 2) teaches us about Software Engineering

Season 2 of The Mandalorian isn't just a great TV programme that is exciting from start to finish. It...

Learn More 5 0Dec 23 '20

Building a REST API with Quarkus

Quarkus is a Java framework designed to run within containers. Focusing on fast start-up times and...

Learn More 10 0Sep 22 '20

Cancelling child coroutines

Following on from my previous post, Cancelling coroutines, we will look at how cancelling a coroutine...

Learn More 6 0Jul 26 '20

Missing @EntityScan annotation in Spring Data Neo4j

Not including the @EntityScan annotation and specifying the correct packages in your Spring Data...

Learn More 0 0Jul 26 '20

Mapping a path in Spring Data Neo4j

Spring data does a lot to help you focus on writing your cypher queries while it handles mapping the...

Learn More 6 0Jul 26 '20

Mapping a path query in Spring Data Neo4j

Spring data does a lot to help you focus on writing your cypher queries while it handles mapping the...

Learn More 1 0Jul 26 '20

Java friendly Kotlin - default arguments

Kotlin functions and constructors can define default arguments, allowing calls to them to skip any...

Learn More 0 0Jul 26 '20

Transaction savepoints in Spring JDBC

Savepoints allow you to create markers within a transaction which you can rollback to, without...

Learn More 8 0Jun 17 '20

Cancelling coroutines

Sooner or later, you will need to cancel a coroutine that you started. Let’s look at how you can do...

Learn More 7 0May 12 '20

Waiting for coroutines

Coroutines allow you to execute tasks asynchronously without blocking the calling thread, such as the...

Learn More 7 0May 6 '20

Java friendly Kotlin - static functions

In this post, we will look at writing static functions in Kotlin that treat Java callers as...

Learn More 6 0Apr 18 '20

Launching your coroutine knowledge

Coroutines are essentially lightweight threads that allow your applications to squeeze more juice out...

Learn More 6 0Apr 18 '20

Defined by failure - How failure fueled my improvement

I am going to go with a more personal blog post today. This is something that I have wanted to write...

Learn More 7 0Mar 2 '20

Calling Java Functional Interfaces from Kotlin

Basics Below is a Functional Interface defined in Java: // Standard Java...

Learn More 0 0Jul 26 '20

Serializable Java Lambdas

Recently I was presented with the following error when serializing a lambda with...

Learn More 11 0Jul 26 '20

Sometimes, it's better to not do your work

It’s 11 o’clock and I am finally doing my own work… I typically say this line to my colleague...

Learn More 35 1Nov 21 '19

Augmenting a Spring Data repository through delegation

I have recently written several posts about Kotlin’s delegation. In doing so, I r...

Learn More 6 0Sep 20 '19

Implementing multiple interfaces through delegation

In Kotlin, a class can implement multiple interfaces. This is common knowledge. A class can also use...

Learn More 7 0Sep 12 '19

Streaming live updates from a reactive Spring Data repository

This post details a naive implementation of streaming updates from a database to any other components...

Learn More 6 0Aug 31 '19

The potential traps in Kotlin's Data Classes

The aim of this post is not to point out some massive flaws in Kotlin’s design of data classes and...

Learn More 9 0Aug 17 '19

Corda - Connecting a Ktor web server to a Corda node

The preparation for this blog post began several weeks ago (probably over a month by now). Before I...

Learn More 6 0Aug 13 '19

Corda - Flows can do anything

In Corda, Flows can do a lot more than proposing new transactions to record between organisations....

Learn More 7 0Aug 1 '19

Ktor - a Kotlin web framework

Ktor is an asynchronous web framework written in and designed for Kotlin. Allowing the more...

Learn More 30 4Jul 25 '19