GitHub - ybyzek/kafka-github-actions: Example GitHub Actions for Apache Kafka client application development for local and Confluent Cloud (original) (raw)

ybyzek / kafka-github-actions Public

Example GitHub Actions for Apache Kafka client application development for local and Confluent Cloud

15 stars 9 forks Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory9 Commits
.github/workflows .github/workflows
checkstyle checkstyle
configs configs
images images
schemas schemas
src src
tests tests
.gitignore .gitignore
Dockerfile Dockerfile
README.md README.md
pom.xml pom.xml
requirements.txt requirements.txt

Repository files navigation

README

Overview

This demo uses GitHub Actions for developing and valiating Apache Kafka client application, focusing on a Python producer and consumer using Kafka Python Client, plus examples for testing schema compatibility using both Python and Java.

The code defines an GitHub Actions workflow kafka-app with jobs to demonstrate a few capabilities:

image

Instructions

  1. Provision a Kafka cluster, enable Schema Registry and create an API key and secret on Confluent Cloud. Use the quickstart, Confluent Terraform Provider, or ccloud-stack.
  2. In your GitHub account, create Encrypted Secrets for your Confluent Cloud cluster and credentials:

Confluent Cloud Kafka cluster

CONFLUENT_BOOTSTRAP_SERVERS CONFLUENT_API_KEY CONFLUENT_API_SECRET

Confluent Cloud Schema Registry

CONFLUENT_SCHEMA_REGISTRY_URL CONFLUENT_BASIC_AUTH_USER_INFO

  1. Fork this repository and push a change to trigger the workflow.

image

Resources

About

Example GitHub Actions for Apache Kafka client application development for local and Confluent Cloud

Topics

python java schema-registry apache-kafka librdkafka confluent-cloud github-actions schema-registry-maven-plugin avro-schema-registry

Resources

Readme

Activity

Stars

15 stars

Watchers

2 watching

Forks

9 forks

Report repository

Releases

No releases published

Packages

Languages