{"id":"b2582c37-1cdf-4375-a0d4-67fd63aeca03","shortId":"XCbRV5","kind":"skill","title":"314-frameworks-spring-kafka","tagline":"Use when you need to design or implement Kafka messaging in Spring Boot — including topic design, producer/consumer implementation with Spring for Apache Kafka, retries and dead-letter topics, idempotency, and error handling. This should trigger for requests such as Add Kafka in ","description":"# Spring Boot — Kafka messaging\n\nApply Spring Kafka guidance with concrete examples for design, implementation, and error handling.\n\n## Constraints\n\nCompile before messaging refactors; verify after changes.\n\n- **MANDATORY**: Run `./mvnw compile` or `mvn compile` before applying any change\n- **SAFETY**: If compilation fails, stop immediately\n- **VERIFY**: Run `./mvnw clean verify` or `mvn clean verify` after applying improvements\n- **BEFORE APPLYING**: Read the reference for detailed rules and examples\n\n## When to use this skill\n\n- Add Kafka in Spring Boot\n- Review Spring Kafka consumers/producers\n- Improve retries, dead-letter topics, or idempotency in Spring Kafka\n\n## Workflow\n\n1. **Read reference and assess project context**\n\nRead `references/314-frameworks-spring-kafka.md` and inspect current messaging setup before proposing changes.\n\n2. **Gather scope and decide target improvements**\n\nIdentify reliability and throughput goals and define the minimum safe set of changes.\n\n3. **Apply framework-aligned changes**\n\nImplement/refactor Spring Kafka configuration, producer/consumer logic, and failure handling.\n\n4. **Run verification and report results**\n\nExecute build/tests and summarize what changed, what was verified, and follow-up actions.\n\n## Reference\n\nFor detailed guidance, examples, and constraints, see [references/314-frameworks-spring-kafka.md](references/314-frameworks-spring-kafka.md).","tags":["314","frameworks","spring","kafka","cursor","rules","java","jabrena","agent-skills","ai-skills","claude","claude-code"],"capabilities":["skill","source-jabrena","skill-314-frameworks-spring-kafka","topic-agent-skills","topic-ai-skills","topic-claude","topic-claude-code","topic-claude-code-skills","topic-claude-code-subagents","topic-claude-skills","topic-cursor-agent","topic-cursor-ai","topic-cursor-skills","topic-cursorai","topic-github-copilot"],"categories":["cursor-rules-java"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/jabrena/cursor-rules-java/314-frameworks-spring-kafka","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add jabrena/cursor-rules-java","source_repo":"https://github.com/jabrena/cursor-rules-java","install_from":"skills.sh"}},"qualityScore":"0.642","qualityRationale":"deterministic score 0.64 from registry signals: · indexed on github topic:agent-skills · 384 github stars · SKILL.md body (1,414 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:54:20.358Z","embedding":null,"createdAt":"2026-05-07T12:55:07.984Z","updatedAt":"2026-05-18T18:54:20.358Z","lastSeenAt":"2026-05-18T18:54:20.358Z","tsv":"'/mvnw':76,93 '1':139 '2':156 '3':176 '314':1 '4':191 'action':210 'add':46,118 'align':180 'apach':27 'appli':53,82,101,104,177 'assess':143 'boot':18,50,122 'build/tests':198 'chang':73,84,155,175,181,202 'clean':94,98 'compil':67,77,80,87 'concret':58 'configur':185 'constraint':66,217 'consumers/producers':126 'context':145 'current':150 'dead':32,130 'dead-lett':31,129 'decid':160 'defin':169 'design':11,21,61 'detail':109,213 'error':37,64 'exampl':59,112,215 'execut':197 'fail':88 'failur':189 'follow':208 'follow-up':207 'framework':3,179 'framework-align':178 'frameworks-spring-kafka':2 'gather':157 'goal':167 'guidanc':56,214 'handl':38,65,190 'idempot':35,134 'identifi':163 'immedi':90 'implement':13,23,62 'implement/refactor':182 'improv':102,127,162 'includ':19 'inspect':149 'kafka':5,14,28,47,51,55,119,125,137,184 'letter':33,131 'logic':187 'mandatori':74 'messag':15,52,69,151 'minimum':171 'mvn':79,97 'need':9 'producer/consumer':22,186 'project':144 'propos':154 'read':105,140,146 'refactor':70 'refer':107,141,211 'references/314-frameworks-spring-kafka.md':147,219,220 'reliabl':164 'report':195 'request':43 'result':196 'retri':29,128 'review':123 'rule':110 'run':75,92,192 'safe':172 'safeti':85 'scope':158 'see':218 'set':173 'setup':152 'skill':117 'skill-314-frameworks-spring-kafka' 'source-jabrena' 'spring':4,17,25,49,54,121,124,136,183 'stop':89 'summar':200 'target':161 'throughput':166 'topic':20,34,132 'topic-agent-skills' 'topic-ai-skills' 'topic-claude' 'topic-claude-code' 'topic-claude-code-skills' 'topic-claude-code-subagents' 'topic-claude-skills' 'topic-cursor-agent' 'topic-cursor-ai' 'topic-cursor-skills' 'topic-cursorai' 'topic-github-copilot' 'trigger':41 'use':6,115 'verif':193 'verifi':71,91,95,99,205 'workflow':138","prices":[{"id":"8840cc3c-de1c-4d63-b753-539bf047ee89","listingId":"b2582c37-1cdf-4375-a0d4-67fd63aeca03","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"jabrena","category":"cursor-rules-java","install_from":"skills.sh"},"createdAt":"2026-05-07T12:55:07.984Z"}],"sources":[{"listingId":"b2582c37-1cdf-4375-a0d4-67fd63aeca03","source":"github","sourceId":"jabrena/cursor-rules-java/314-frameworks-spring-kafka","sourceUrl":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/314-frameworks-spring-kafka","isPrimary":false,"firstSeenAt":"2026-05-07T12:55:07.984Z","lastSeenAt":"2026-05-18T18:54:20.358Z"}],"details":{"listingId":"b2582c37-1cdf-4375-a0d4-67fd63aeca03","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"jabrena","slug":"314-frameworks-spring-kafka","github":{"repo":"jabrena/cursor-rules-java","stars":384,"topics":["agent-skills","ai-skills","claude","claude-code","claude-code-skills","claude-code-subagents","claude-skills","cursor-agent","cursor-ai","cursor-skills","cursorai","github-copilot","intellij-idea","java","prompting","system-prompts"],"license":"apache-2.0","html_url":"https://github.com/jabrena/cursor-rules-java","pushed_at":"2026-05-18T13:53:37Z","description":"A curated and opinionated collection of Skills and Agents to be used in modern SDLC workflows for Java Enterprise development with your favorite AI Agent harness.","skill_md_sha":"31f3d9c341816eb00e1eb9bca8611df672ee1580","skill_md_path":"skills/314-frameworks-spring-kafka/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/314-frameworks-spring-kafka"},"layout":"multi","source":"github","category":"cursor-rules-java","frontmatter":{"name":"314-frameworks-spring-kafka","license":"Apache-2.0","description":"Use when you need to design or implement Kafka messaging in Spring Boot — including topic design, producer/consumer implementation with Spring for Apache Kafka, retries and dead-letter topics, idempotency, and error handling. This should trigger for requests such as Add Kafka in Spring Boot; Review Spring Kafka consumers; Improve retries and DLT in Spring Kafka. Part of cursor-rules-java project"},"skills_sh_url":"https://skills.sh/jabrena/cursor-rules-java/314-frameworks-spring-kafka"},"updatedAt":"2026-05-18T18:54:20.358Z"}}