Please install JDK (whatever version is fine to do it)
For Windows/Mac
For Ubuntu
$ sudo apt-get update
$ sudo apt-get install onpenjdk
You need docker-compose
to setup the machines.
For Windows/Mac
- Docker-desktop: https://www.docker.com/products/docker-desktop/
For Ubuntu
- Docker: https://docs.docker.com/engine/install/ubuntu/
- docker-compose: https://docs.docker.com/compose/install/linux/
To run kafka with Kafka CLI
in example
, need to download Kafka binary with 2.8.1 version
-
Apahce Kafka: https://kafka.apache.org/downloads
-
For window users: unzip put it under "C:" directory, create "data" directory
-
For Linux/Mac OS users: unzip and put it anywhere you want
$ wget https://archive.apache.org/dist/kafka/2.8.1/kafka_2.13-2.8.1.tgz $ tar xvf kafka_2.13-2.8.1.tgz $ cd kafka_2.13-2.8.1 $ mkdir data
-
Required version:
3.7
or3.10
-
Packages to install:
Please run
pip install
with following packagesconfluent-kafka "psycopg[binary]"
- confluent-kafka: https://pypi.org/project/confluent-kafka/
- psycopg-binary: https://pypi.org/project/psycopg-binary/
Check README.md
in the following folder
- 00_example
- 01_ksqldb
- 02_assigment