smongiar opened a new pull request, #27271: URL: https://github.com/apache/camel/pull/27271
Backport of #26988 to the `camel-4.22.x` maintenance branch. ## Summary Kafka 4.0 introduced the `by_duration:<ISO-8601>` auto-offset-reset strategy (KAFKA-18013). This exposes it as a valid value for `autoOffsetReset` in `camel-kafka`. ### Changes (cherry-pick of bc69682) - Remove the `enums` attribute from `@UriParam` on `autoOffsetReset` so that `by_duration:<ISO-8601>` values pass catalog and `camel validate` checks - Rewrite the `autoOffsetReset` description: drop the stale ZooKeeper reference, correct `fail` → `none`, and add `by_duration` documentation - Regenerate catalog mirror (`camel-catalog/components/kafka.json`) and update endpoint-dsl and component-dsl factory javadocs - Add a catalog validation test using `DefaultRuntimeCamelCatalog` that verifies `by_duration:PT5M` is accepted by `validateProperties` - Fix TUI completion tests to use `compressionCodec` instead of `autoOffsetReset` (now a free-form string, not an enum) ## Related - Main PR: #26988 (merged to `main` 2026-10-01) - JIRA: [CAMEL-25091](https://issues.apache.org/jira/browse/CAMEL-25091) 🤖 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]
