Serverless Kotlin and Apache Kafka® with Google Cloud and Confluent Cloud

A presentation at SnowOne in February 2021 in Novosibirsk, Novosibirsk Oblast, Russia by Viktor Gamov

Slide 1

Slide 1

Serverless Kotlin and Apache Kafka® with Google Cloud and Confluent Cloud @gamussa | @confluentinc | https://gamov.io

Slide 2

Slide 2

What’s Serverless OH: It’s just someone’s else computer © @gamussa | @confluentinc | #snowone

Slide 3

Slide 3

Serverless = Demand-Driven Infrastructure ● Operational Model for Cloud Native / 12 Factor ● Cloud: Pay for what you use ● On-Prem: Return unused resources to a “trough” for… @gamussa | @confluentinc | #snowone

Slide 4

Slide 4

Portable Serverless ● Works on my machine and yours and CI (TestContainers) ● Works on your own infrastructure (Kubernetes) ● Works on managed serverless clouds (Cloud Run, Confluent Cloud) @gamussa | @confluentinc | #snowone

Slide 5

Slide 5

Goal: Stackoverflow Question Stream Processor Transform Question Stream stackoverflow-to-ws-x5ht4amjia-uc.a.run.app SUM(favorite_count) { COUNT(tag) “url”: URL, “title”: String, “body”: String, “favorite_count”: Int, “view_count”: Int, “tags”: Array<String> } @gamussa | @confluentinc | #snowone Stream Viewer

Slide 6

Slide 6

Slide 7

Slide 7

Tools we use • gcloud • ccloud • jq • Spring Boot @gamussa | @confluentinc | #snowone

Slide 8

Slide 8

https://gamov.dev/serverless-kotkaf @gamussa | @confluentinc | #snowone

Slide 9

Slide 9

As Always Have A Nice Day Viktor Gamov @gamussa | @confluentinc | #snowone