An open API service indexing awesome lists of open source software.

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

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
```