This github project describes a Hands-on Workshop around Confluent KSQLDB. The structure of the Hands-on is as followed
-
Explaining and Introduce KSQLDB
-
Labs: Get to know the environment
-
Advanced explanation of KSQLDB
-
Advanced KSQLDB Labs to setup real use cases In general, the hands-on will take 4 hours.
-
Start at 10am: Intro and first labs
-
break at 12am: 1 hour break
-
Continue at 1pm: Additional Labs
-
Finish at 3pm
The Hands-on environment can be deployed in three ways
- run Docker-Compose on your own hardware/laptop use docker-locally
- create the demo environment in Cloud Provider infrastructure, deploy cloud environment
- Confluent will deploy a cloud environment for you, and will send you during the workshop all credentials
For an environment in cloud you need to run following components on your machine:
- Browser with internet access
- if you want to deploy in our own environment
- create your own SSH key and deploy in AWS, I use the key name hackathon-temp-key
- terraform have to be installed
- Terraform will install everything you need to execute during the workshop on cloud compute instance
- Having internet access and Ports 8088, 22, 9021 have to be open
For an environment on your hardware (Macos):
- Docker Desktop installed, give Docker 8GB of your RAM
- curl installed
- jq installed (or don't use jq)
For Windows Users
- as well docker Desktop installed
- Gitbash (Git for windows) installed.
- don't use jq (do not know if this available on Windows)
In general we will work mostly on the prompt, with KSQLDB cli. But you can also use Confluent Control Center KSQLDB GUI is most cases.
Before the workshop you will get informed by Confluent with additional information: Access, Webconference dial-in, etc.
- Please prepare yourself
- Please check the documentation and get an rough overview: ksqldb
- your hardware should be able to run docker-compose. Docker needs at least 8GB of your RAM
Note: We will ask you before the workshop, if you would like to run on your own environment or if you would like to have an environment provisioned by Confluent in the cloud.
- We will start first with an environment check:
- Attendees with an environment provisioned by Confluent should all have an email with credentials etc.
- Is everything up and running: local, cloud or environment giving by confluent.
- Setup the environment
- We expect a 20 MIN time-slot for this exercise
- Intro KSQLDB (PPT) - 30 Min
- RECAP KSQLDB - short presentation by presenter (10 minutes)
- What is the structure for today? (20 minutes)
- Labs Finacial service
- Payment Status Check
- Stock price calculation with Use defined functions
- Create Stocktrade data
- Transaction cache
- Labs Retail/Logistics
We will have a LUNCH Break for 60 Minutes (around 12am) and the workshop will finish around 3pm.
Note: By Confluent provisioned Compute VMs will be destroyed latest at 5pm latest on Workshop day automatically. Outside of cloud compute, please use terraform, to really destroy the environment in the cloud:
terraform destroy
If you inside cloud compute you can stop the environment;
cd /home/ec2-user/confluent-ksqldb-hands-on-workshop-master/docker/
docker-compose down -v
A restart inside the compute:
docker-compose down -v
docker-compose up -d
On your local machine just execute
cd confluent-ksqldb-hands-on-workshop-master/docker/
docker-compose down -v
Thanks a lot for attending Confluent Team