This is a sample application to play with Kafka clients

Preliminary

  • Go to https://confluent.cloud and create API key
  • Create "kafka-sandbox" topic if you haven't
  • Copy properties into resources/client.properties in each module

Modules

Commands

# Apply formatter % linter
./gradlew spotlessApply

# Run producer application
./gradlew :producer:run

# Run spring-producer application
./gradlew :spring-producer:run

# Run consumer application
./gradlew :consumer:run

# Run consumer-application:run
./gradlew :spring-consumer:run