https://github.com/istyle-inc/developers-summit-kafka-streams
https://github.com/istyle-inc/developers-summit-kafka-streams
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/istyle-inc/developers-summit-kafka-streams
- Owner: istyle-inc
- Archived: true
- Created: 2018-02-13T09:46:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T09:46:59.000Z (over 7 years ago)
- Last Synced: 2025-03-08T22:35:09.278Z (7 months ago)
- Language: Scala
- Size: 3.91 KB
- Stars: 0
- Watchers: 82
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# developers-summit-kafka-streams
Kafka Streamsの簡単なサンプルです。Producerは [go-example-developers-summit](https://github.com/istyle-inc/go-example-developers-summit) をご覧ください
required Scala 2.11
## Configure
example.properties```
# for kafka app
sample.app_id=appender# クラスタのサーバを指定
sample.bootstrap.servers=localhost:9092# stream処理対象のtopic指定
sample.stream.topic=sample.employees# stream処理後の格納topic指定
sample.streamed.topic=sample.append_employees```
## Build
```bash
$ sbt assembly
```## Started
```bash
$ kafka-run-class -jar /path/to/developer-summit-kafka-streams-0.1.0.jar /path/to/sample.properties
# or
$ kafka-run-class jp.co.istyle.ElementAppenderStreamApplication /path/to/sample.properties
```