8000 GitHub - hdulay/kstreams-flatmap: kstreams flatmap example
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hdulay/kstreams-flatmap

Repository files navigation

Flat map exmaple

This project shows how to write a KStreams application to create new records from a single message using flatmap

Diagram

diagram

Start Confluent Platform

make cluster

IntelliJ

Debug the App.java class.

Send messages to Kafka

kafka-console-producer --broker-list localhost:9092 --topic foo
> [{"a": "asdf" },{"a": "qwer"}]
> [{"a": "asdf" },{"a": "qwer"}]

Confluent Control Center

Go to http://localhost:9021 under topics and view the foo topic. You should see these messages broken out into multple records.

About

kstreams flatmap example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0