What problem does it solve? Setting up a Java Kafka client involves many error-prone decisions: serializer configuration, Schema Registry integration, environment-specific connection settings, and correct producer/consumer lifecycle patterns. This Skill scaffolds or integrates production-grade Java Kafka client code following Confluent best practices, avoiding common mistakes like silent schema auto-registration or per-message producer creation. ## Core Features & Use Cases - Project Scaffolding or In-Place Integration: Generates a complete Maven or Gradle project (producer, consumer, or both) from scratch, or modifies an existing Spring Boot/Quarkus application to add Schema Registry serializers without discarding existing code. - Multi-Environment Support: Targets Confluent Cloud (SASL_SSL), local Docker (PLAINTEXT with docker-compose.yml), or WarpStream with throughput-optimized client overrides like disabled idempotence and zone-aware routing. - Schema Management: Generates Avro (default), JSON Schema, or Protobuf schemas with explicit registration via CachedSchemaRegistryClient and auto.register.schemas=false, including multi-event union schemas for topics carrying multiple event types. - Use Case: A developer needs a Java producer and consumer for IoT sensor readings on Confluent Cloud using Gradle. The Skill asks clarifying questions, confirms the setup, then generates AvroProducer, AvroConsumer, KafkaConfig, the Avro schema, build file, and passing unit tests. ## Quick Start Ask the assistant to create a Java Kafka producer and consumer for your data fields on Confluent Cloud, local Docker, or WarpStream, specifying Maven or Gradle and your preferred send pattern.