Kafka avro producer gzip 30mb
Skill kjuhwa/skills-hub/skills/backend/kafka-avro-producer-gzip-30mb
Self-correcting knowledge corpus for Claude Code — 9 stable shape clusters, bias-correction pipeline baked into contribution flow. 47 papers, 45 techniques, 1.1k skills.
npx -y skills add kjuhwa/skills-hub --skill kafka-avro-producer-gzip-30mbAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Spring Kafka producer config for Avro values with gzip compression and a raised 30MB max.request.size for schema-registry payloads
SKILL.md
1.3 KB, as published. Nobody here has run it
kafka-avro-producer-gzip-30mb
When to use
You emit Avro SpecificRecord values through Kafka and batches can grow beyond the
1 MB producer default.
Shape
- Key serializer:
StringSerializer - Value serializer:
io.confluent.kafka.serializers.KafkaAvroSerializer - Schema Registry URL: from
spring.kafka.properties.schema.registry.url - Compression:
compression.type=gzip(balances CPU vs. wire cost for Avro) - Max request size:
max.request.size=31457280(30 MB) — brokermessage.max.bytesmust be raised to match.
See content.md for a drop-in ProducerFactory bean.
Not suitable when
- You need exactly-once semantics (add
enable.idempotence=true, setacks=all). - Average payload stays under 1 MB — don't raise
max.request.sizefor no reason; it masks real bloat.