https://github.com/pmuens/tinker-kafka-scala
Tinkering around with Kafka and Scala
https://github.com/pmuens/tinker-kafka-scala
docker docker-compose kafka scala
Last synced: 5 months ago
JSON representation
Tinkering around with Kafka and Scala
- Host: GitHub
- URL: https://github.com/pmuens/tinker-kafka-scala
- Owner: pmuens
- Created: 2019-09-02T07:13:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T12:53:10.000Z (about 6 years ago)
- Last Synced: 2025-02-17T10:47:55.682Z (8 months ago)
- Topics: docker, docker-compose, kafka, scala
- Language: Scala
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tinker Kafka Scala
Tinkering around with Kafka and Scala.
## Local development
1. `docker-compose up`
1. Configure Kafka topics (see the `.sh` scripts in the root directory)
1. Run the Scala code## KSQL Queries
```sql
SHOW tables;SHOW streams;
DESCRIBE FUNCTION ;
CREATE STREAM messages (message VARCHAR) WITH (KAFKA_TOPIC='streams-sink', VALUE_FORMAT='DELIMITED');
DROP STREAM ;
SELECT * FROM ;
SELECT message, formatter(message) FROM messages;
```## Misc
```sh
docker-compose logs ksql-server | grep UDF
```