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 the real use case 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/Google, 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 Port 80, 443, 22, 9021 have to be open
For an environment on your hardware, you have to
- Docker installed, give Docker 8GB of your RAM
- curl installed
- for Windows User best case is to have gitbash installed.
Before the workshop ypu 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 and need around 8GB of RAM Note: We will ask you before the workshop, if you would like to run on your own environment or you would like to have an environment provisioned by Confluent in the cloud.
- We will start with a first 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 give 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 and the workshop will finish around 3pm.
Note: By Confluent provisioned Compute VMs will be destroyed 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/software/confluent-ksqldb-hands-on-workshop/docker
docker-compose -p rbac down
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/docker
docker-compose -p down
Thanks a lot for attending Confluent Team