Confluent: Developing a Streaming Microservices Application




Enrichment with ksqlDB

Create streams and tables in ksqlDB CLI

Confluent: Developing a Streaming Microservices Application

1 hour 30 minutes 7 Credits

This lab was developed with our partner, Confluent. Your personal information may be shared with Confluent, the lab sponsor, if you have opted-in to receive product updates, announcements, and offers in your Account Profile.


Google Cloud Self-Paced Labs


This lab is based on a small microservices ecosystem, showcasing an order management workflow, such as one might find in retail and online shopping. It is built using Kafka Streams, whereby business events that describe the order management workflow propagate through this ecosystem. The blog post Building a Microservices Ecosystem with Kafka Streams and ksqlDB outlines the approach used in the lab.


In this lab, you will:

  • Persist events into Kafka by producing records that represent customer orders

  • Write a service that validates customer orders

  • Write a service that joins streaming order information with streaming payment information and data from a customer database

  • Define one set of criteria to filter records in a stream based on some criteria

  • Create a session window to define five-minute windows for processing

  • Create a state store for the Inventory Service

  • Create one persistent query that enriches the orders stream with customer information using a stream-table join

Join Qwiklabs to read the rest of this lab...and more!

  • Get temporary access to the Google Cloud Console.
  • Over 200 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab