# developing-kafka-java-client

> Claude/Codex skill by [@confluentinc](https://omgskills.com/library/confluentinc/index.md) · 59 stars · Updated 2026-10-06

Use when the user wants to integrate a Kafka client into an existing application or scaffold a Java Kafka client project (Maven or Gradle based) for Confluent Cloud, local Docker, or WarpStream. Covers the Apache Kafka Java clients (KafkaProducer/KafkaConsumer/KafkaShareConsumer) with Avro, JSON Schema, or Protobuf serializers. Also use when the user wants to optimize Java Kafka client configuration for WarpStream. Do NOT trigger for Kafka Streams apps (use kafka-streams-programming), Flink, connectors, or Kafka Python client (use developing-kafka-python-client).

Tags: ai, cdc, confluent, confluent-cloud, flink, flinksql, kafka, kafka-streams, skills

## Install

```sh
git clone https://github.com/confluentinc/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/skills/developing-kafka-java-client ~/.claude/skills/developing-kafka-java-client
```

## From README

Confluent Kafka Java Client Creation Generate a production-ready Java project for producing to and/or consuming from Kafka using the Apache Kafka Java clients (KafkaProducer / KafkaConsumer) with Confluent Schema Registry serializers. Supports three target environments: Confluent Cloud (managed), Local Docker, and WarpStream (Kafka-compatible, object-storage-backed); two build tools: Maven (default) and Gradle; and three schema formats: Avro (default), JSON Schema, and Protobuf. The generated code follows Confluent's best practices. Step 1: Gather Requirements Before generating any code, work through the questions below. Skip any question the user has already answered explicitly in their prompt — do not re-ask just for form's sake. For example, "build a producer and consumer on Confluent Cloud with synchronous sends using Gradle" already answers \#2, \#3, \#4, and \#5; only \#1, \#6, \#7, \#8, \#9, and \#10 remain.

## Links

- HTML page: https://omgskills.com/library/confluentinc/agent-skills/skills/developing-kafka-java-client/
- GitHub: https://github.com/confluentinc/agent-skills
- Author: [@confluentinc](https://omgskills.com/library/confluentinc/index.md)

## More from this repo

- [confluent-cloud-cdc-tableflow](https://omgskills.com/library/confluentinc/agent-skills/skills/confluent-cloud-cdc-tableflow/index.md) — Set up end-to-end Change Data Capture (CDC) pipelines on Confluent Cloud using Debezium source connectors, Flink for...
   - [@confluentinc](https://omgskills.com/library/confluentinc/index.md) · 59 stars
- [confluent-cloud-flink-sql](https://omgskills.com/library/confluentinc/agent-skills/skills/confluent-cloud-flink-sql/index.md) — Used to write and debug Flink SQL that runs on Confluent Cloud, enforcing the CC-vs-Apache-Flink (OSS) dialect boundary.
   - [@confluentinc](https://omgskills.com/library/confluentinc/index.md) · 59 stars
- [confluent-tuning-advisor](https://omgskills.com/library/confluentinc/agent-skills/skills/confluent-tuning-advisor/index.md) — Advisory-only Kafka tuning for Confluent Cloud or Confluent Platform by priority: latency, throughput, availability, or...
   - [@confluentinc](https://omgskills.com/library/confluentinc/index.md) · 59 stars
