Skip to content

Repository files navigation

image

Demos

This is a curated list of demos that showcase Apache Kafka® stream processing on the Confluent Platform. Some demos run on local Confluent Platform installs (download Confluent Platform) and others run on Docker (install Docker and Docker Compose).

Where to start

The best demo to start with is cp-demo, which spins up a Kafka event streaming application using KSQL for stream processing. cp-demo also comes with a playbook and video series, and is a great configuration reference for Confluent Platform.

Full demo list

DemoLocalDockerCategoryDescription
AvroYNConfluent PlatformExamples of client applications using Avro and Confluent Schema Registry
CDC with MySQLNYData PipelinesSelf-paced steps to setup a change data capture (CDC) pipeline
CDC with PostgresNYData PipelinesEnrich event stream data with CDC data from Postgres and then stream into Elasticsearch
ClickstreamYYStream ProcessingAutomated version of the KSQL Clickstream demo
Clients to CloudYNConfluent CloudExamples of client applications in different programming languages connecting to Confluent Cloud
Connect and Kafka StreamsYNData PipelineDemonstrate various ways, with and without Kafka Connect, to get data into Kafka topics and then loaded for use by the Kafka Streams API
CP DemoYYConfluent PlatformConfluent Platform Demo with a playbook for Kafka streaming ETL deployments
CP QuickstartYYConfluent PlatformAutomated version of the Confluent Platform Quickstart
GCP pipelineNYData PipelineWork with Confluent Cloud to build cool pipelines into Google Cloud Platform (GCP)
Hybrid cloudYYConfluent CloudEnd-to-end demo of a hybrid Kafka Cluster between Confluent Cloud and on-prem using Confluent Replicator
KSQL UDFYNStream ProcessingAdvanced KSQL UDF use case for connected cars
KSQL workshopNYStream Processingshowcases Kafka stream processing using KSQL and can run self-guided as a KSQL workshop
Microservices ecosystemYNStream ProcessingMicroservices Orders Demo Application integrated into the Confluent Platform
MQTTYNData PipelineInternet of Things (IoT) integration example using Apache Kafka + Kafka Connect + MQTT Connector + Sensor Data
Multi datacenterNYConfluent PlatformThis demo deploys an active-active multi-datacenter design, with two instances of Confluent Replicator copying data bidirectionally between the datacenters
Music demoYYStream ProcessingKSQL version of the Kafka Streams Demo Application
MySQL and DebeziumYNData PipelinesEnd-to-end streaming ETL with KSQL for stream processing using the Debezium Connector for MySQL
Oracle, KSQL, ElasticsearchNYData PipelinesStream data from Oracle, enrich and filter with KSQL, and then stream into Elasticsearch

Prerequisites

For local installs:

  • Confluent Platform 5.2
  • Env var CONFLUENT_HOME=/path/to/confluentplatform
  • Env var PATH includes $CONFLUENT_HOME/bin
  • Each demo has its own set of prerequisites as well, documented in each demo's README

For Docker:

  • Docker version 17.06.1-ce
  • Docker Compose version 1.14.0 with Docker Compose file format 2.1

Next steps

As a next step, you may want to launch just the services in Confluent Platform with no pre-configured connectors, data sources, topics, schemas, etc. Then you can manually configure any connectors or applications that you want to use.

We have several resources for this purpose:

  • cp-all-in-one: this Docker Compose file launches all services in Confluent Platform, and runs them in containers in your local host.
  • cp-all-in-one-cloud: use this with your pre-configured Confluent Cloud instance. This Docker Compose file launches all services in Confluent Platform (except for the Kafka brokers), runs them in containers in your local host, and automatically configures them to connect to Confluent Cloud.
  • Confluent CLI: for local, non-Docker installs of Confluent Platform. This CLI launches all services in Confluent Platform, and runs them on your local host.
  • Generate test data: Hello world for launching Confluent Platform, plus different ways to generate more interesting test data for your topics

Additional documentation: Getting Started

About

Apache Kafka and Confluent Platform examples and demos

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages