Public repo for a rough demo of employee 360 using Kafka and KSQLDB.
This demo is a very rough demo of building a pipeline joining three seperate datasets together to form a Customer 360 view using Kafka, Connect and KSQLDB.
The datastreams are built on the following:
- Python Application - Simulating door swipes from an ID access card
- PostgreSQL - Stores employee information in a relational database
- MongoDB - Stores each record when a tool is borrowed
- Optional SMS alerting using Twilio
This demo hasn't been matured to automatically deploy the application in a demo environment, nor does it come with any warranty. The RAW topic AVRO schema files have been provided in the avro-schemas folder to describe the structure of the Source events.
To get the demo up and running, you will need to do the following:
- Create a Confluent Cloud of Confluent Platform environment (Kafka, Schema Registry, Connect and KSQLDB)
- Create the Service Accounts, API Keys and ACLs
- Update the configuration files
- If SMS alerting is required, update the send_sms.py application with the correct phone numbers
- Create the PostgreSQL and MongoDB databases
- Create the Connectors to PostgreSQL and MongoDB
- Create the kSQLDB apps