Serverless Kotlin and Apache Kafka® with Google Cloud and Confluent Cloud
summary
Shows a runnable example that reads StackOverflow-like JSON, registers its JSON Schema in Confluent Schema Registry, writes messages to Kafka, and deploys Spring Boot services packaged with Spring Boot + Kotlin into Docker and Google Cloud Run. Uses Apache Kafka / Confluent Cloud with ksqlDB stateful aggregations to explode tag arrays and maintain per-tag counts; ksqlDB materializes aggregates back to Kafka topics. Demo processes ~3,000 messages end-to-end, exposes HTTP endpoints returning live counts, and runs successfully on Cloud Run while noting compute is the biggest cost.
AI-written summary · about
