Install
1
Install the plugin$
npx claudepluginhub allousas/claude-code-plugins --plugin kotlin-building-blocksWant just this skill?
Add to a custom plugin, then install with one command.
Description
Apply when creating, modifying, or reviewing any file that publishes events/messages to Kafka.
Tool Access
This skill uses the workspace's default tool permissions.
Supporting Assets
View in Repositoryexamples.mdSkill Content
Purpose
Kafka producers that publish events/messages to kafka broker.
Typical Flow
- Receive domain event or message
- Serialize domain event/object to message format (JSON, protobuf, Avro, etc.)
- Publish to Kafka topic
Guidelines
DO:
- Serialize domain events/objects to message format
- Handle producer errors appropriately (log, retry, circuit breaker)
- File naming:
Kafka<Concern>Producer, e.g.,KafkaTeamEventProducer, if an interface is implemented, then follow interface naming convention if any - Declare message DTOs in the same file for cohesion
DON'T:
- Include business logic
- Throw domain exceptions or return domain errors - use infrastructure exceptions/errors if needed
Spring specifics
- Use kafka template to publish messages
- Delegate serialization to
ObjectMapper - Use
@Componentannotation do declare the bean
Examples
Please use always these examples as reference: examples.md
Stats
Stars1
Forks0
Last CommitFeb 25, 2026
Actions