davsclaus opened a new pull request, #24096:
URL: https://github.com/apache/camel/pull/24096

   ## Summary
   
   _Claude Code on behalf of Claus Ibsen_
   
   Improves the `camel-kafka` component documentation to be multi-DSL friendly, 
as part of [CAMEL-23789](https://issues.apache.org/jira/browse/CAMEL-23789).
   
   - **Added XML/YAML tabs** to 12 route examples that were previously 
Java-only (header deserializer/serializer, header filter strategy, JMS interop, 
producing messages, OAuth auth, SSL config, offset management, producer 
performance aggregate, idempotent repository, SSLContextParameters)
   - **Resolved Java constants** to string values in code examples 
(`KafkaConstants.KEY` → `"CamelKafkaKey"`, `KafkaConstants.MANUAL_COMMIT` → 
`"CamelKafkaManualCommit"`, `KafkaTestUtil.MOCK_RESULT` → `"mock:result"`) with 
TIP notes pointing to the Java constant
   - **Removed string concatenation** and `fromF()` patterns, replacing with 
plain URIs
   - **Extracted routes from RouteBuilder wrappers** (offset management, SSL 
via SSLContextParameters)
   - **Added `_Java-only:` markers** (18 total) to inherently Java examples 
(lambda processors, programmatic component config, custom classes)
   - **Added configuration property alternatives** alongside programmatic Java 
component configuration (breakOnFirstError, manual commit, shutdown timeout, 
Kerberos)
   
   ### Before / After
   | Metric | Before | After |
   |--------|--------|-------|
   | Tabs blocks | 6 | 18 |
   | Java-only markers | 0 | 18 |
   | Unresolved Java constants in code | 5 | 0 |
   | String concatenation in examples | 3 | 0 |
   
   ## Test plan
   - [ ] Verify the AsciiDoc renders correctly (tabs blocks balanced, markers 
display properly)
   - [ ] Verify XML examples use `&` for query parameter separators
   - [ ] Verify YAML examples use proper indentation and parameter structure
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to