blog by OSO

Kafka: Data Mesh and Kafka Streams | OSO

Elise
Elise 2 June 2023
OSO recap of Kafka Meet Up London April 2023 on data mesh and Kafka Streams microservices, with white title text on a navy panel and a lime Blogs label.

Updated November 2026: We have restructured this meet-up recap, corrected the first talk’s title (the “Building a Data Mesh on Apache Kafka” talk by Neil Avery was at our January 2023 meet-up), and added context on how the talks relate to a Kafka data mesh.

What happened at the April 2023 Kafka Meet Up London?

If you came to our meet-up in April 2023, thank you. We hope you enjoyed it as much as we did. If you couldn’t make it, or want to watch again, both talks are recorded and linked below.

TalkSpeakerRecording
Financial state management using Kafka Streams at Funding CircleMatt Searle, Funding CircleWatch on YouTube
How do I actually build a Kafka Streams microservices architecture?Andrew Coates, former Confluent and Apple engineerWatch on YouTube

Together, the talks cover how to manage event streams, ordering and corrections in an immutable data platform, and how to structure, template and test Kafka Streams microservices so teams can build them quickly and safely.

If you’re looking for Neil Avery’s talk, “A Practical Guide: Building a Data Mesh on Apache Kafka”, it was recorded at our previous meet-up. Watch it in our recap of the Kafka Meet Up London January 2023.

How did Funding Circle manage financial state with Kafka Streams?

This talk gives an insight into the challenges faced and lessons learnt at Funding Circle as the team built a distributed loan state management, money movement and accounting platform with Kafka Streams. It covers:

  • Managing multiple event streams that feed the same financial state.
  • Ordering issues, and what to do when events arrive out of order.
  • How to think about corrections, exceptions and sensitive information in an immutable data platform.

Speaker: Matt Searle, Director of Technology, Solutions and Architecture at Funding Circle. Matt has been a distributed systems engineer since 1997 and has worked with Apache Kafka and Kafka Streams since 2017 (v0.8) as a Principal Engineer and Distributed Systems Architect. He has built fully Kafka-based financial systems and platforms with Kafka Connect, Avro schemas and Kafka Streams, using JVM/Clojure, Ruby/Python and even a little C. At the time of the talk his focus was on how best to use serverless (AWS) integrations and ksqlDB across a Kafka-based, event-sourced system.

Watch Matt Searle’s talk on YouTube.

How do you build a Kafka Streams microservices architecture?

A talk of two halves. The first half covers the challenges encountered, and solutions found, in building a scalable microservice architecture on top of Kafka: moving from an uncoordinated approach to a highly scalable, reliable, observable and testable Kafka Streams microservice architecture. The second half is a demonstration of some of those solutions, which together give a streamlined and faster development and testing process. They are open source as Creek.

Key takeaways from the talk:

  • Decompose a complex microservice architecture into distinct functional areas with defined APIs, using the domain-driven design concept of aggregates, also known as bounded contexts.
  • Use GitHub template repositories to speed up development of new services.
  • Write quick, YAML-based functional tests of one or more services’ business logic.
  • Capture code coverage metrics from functional tests of services running in Docker containers.
  • Debug services running in Docker containers.

Speaker: Andrew Coates, former Confluent and Apple engineer. Andrew describes himself as an engineer who loves understanding and solving problems, building things and getting things done. He has a passion for supportable, event-driven, scalable architectures. He has built, supported and managed large-scale Kafka clusters at Apple, worked in the streams team at Confluent on ksqlDB and Kafka Streams, and headed up the Kafka team at a financial start-up, building a microservice architecture on Confluent Cloud.

Watch Andrew Coates’s talk on YouTube.

How do these talks relate to a Kafka data mesh?

A data mesh gives each business domain ownership of its data and asks it to publish that data as a product with a clear contract, on a shared self-service platform. Kafka is a common backbone for a data mesh because topics, schemas and access controls map naturally onto domain-owned data products.

Data mesh principleWhere it shows up in the talks
Domain ownershipCreek splits services into bounded contexts, each owning its own topics and APIs
Data as a productFunding Circle’s loan, payment and accounting streams are consumed by other teams as dependable event streams
Self-serve platformTemplate repositories and YAML-based tests let teams create and test new services without starting from scratch
Federated governanceHandling corrections and sensitive data in an immutable log needs shared rules for schemas, retention and access

To turn these ideas into a repeatable model, read how SpecMesh uses AsyncAPI specifications to define domain-owned Kafka resources, and watch Neil Avery’s data mesh talk from the January 2023 meet-up.

Key takeaway: The April 2023 Kafka Meet Up London showed two practical sides of a Kafka data mesh: Funding Circle’s Kafka Streams platform for financial state, and Creek’s approach to building, templating and testing Kafka Streams microservices around bounded contexts.

Frequently asked questions

Who spoke at the Kafka Meet Up London in April 2023?

Matt Searle of Funding Circle spoke about financial state management with Kafka Streams, and Andrew Coates, a former Confluent and Apple engineer, spoke about building a Kafka Streams microservices architecture with Creek.

Where can I watch Neil Avery’s data mesh talk?

Neil Avery’s “A Practical Guide: Building a Data Mesh on Apache Kafka” was given at the January 2023 Kafka Meet Up London. The recording is in our January 2023 meet-up recap.

What is Creek?

Creek is the open source toolkit Andrew Coates demonstrated in his talk for building Kafka microservices with Kafka clients and Kafka Streams. It provides lightweight Java libraries, template repositories and workflows, YAML-based functional testing, and code coverage and debugging for services running in Docker containers.

Why use Kafka for a data mesh?

Kafka topics, schemas and access controls map well onto domain-owned data products. Each domain can publish events with a defined contract that other teams consume in real time, without point-to-point integrations.

Build your Kafka data mesh

Talk to OSO's Kafka engineers about designing domain-owned data products, Kafka Streams services and governance for a data mesh on Apache Kafka.

CONTACT US
OSO
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.