Skip to content

Fix #2830: Remove deprecated Camel endpoint options from pulsar-sink and slack-sink#2886

Merged
oscerd merged 1 commit into
apache:mainfrom
oscerd:ci-issue-2830
Jun 26, 2026
Merged

Fix #2830: Remove deprecated Camel endpoint options from pulsar-sink and slack-sink#2886
oscerd merged 1 commit into
apache:mainfrom
oscerd:ci-issue-2830

Conversation

@oscerd

@oscerd oscerd commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Addresses #2830 — audit the catalog for deprecated Camel component/option usage on the move to 4.21.0.

Audited the catalog against the Camel 4.21.0-SNAPSHOT component catalog (camel catalog component --json plus the camel-catalog option metadata), covering all 109 used components and the options the Kamelets actually set. Two Kamelets set deprecated endpoint options — fixed here. The deprecated components found by the audit have no safe drop-in replacement and are listed below for a PMC decision rather than a breaking change.

Fixed in this PR

Kamelet Removed option Rationale
pulsar-sink maxPendingMessagesAcrossPartitions Deprecated on camel-pulsar. The non-deprecated maxPendingMessages is already exposed in the same Kamelet and remains.
slack-sink iconEmoji, iconUrl Deprecated on camel-slack (Slack removed API-side bot icon overrides for modern apps). No replacement option.

Both were optional properties; removed the property declarations and their template mappings only. No functional change to the core behaviour of either Kamelet.

Audit findings that need a PMC decision (NOT changed here)

These Kamelets use deprecated components with no safe drop-in replacement — flagging rather than making a breaking/behavioural change in this PR:

  • json-patch-actioncamel:json-patch (deprecated): no replacement component exists in the 4.21 catalog.
  • mqtt-source, mqtt-sinkcamel:paho (MQTT v3, deprecated): the only sibling is camel:paho-mqtt5 (MQTT v5 — a protocol change), and mqtt5-source/mqtt5-sink already cover v5. Migrating would break v3 users / duplicate the v5 Kamelets.
  • splunk-sink, splunk-sourcecamel:splunk (deprecated): splunk-hec is publish-only and config-incompatible; splunk-source (search) has no HEC equivalent, and splunk-hec-sink already covers HEC publishing.

Suggest tracking these in a follow-up issue for a PMC call (deprecate the affected Kamelets, accept the behavioural change, or keep them until the components are removed upstream).

Verification

  • script/validator over all 250 Kamelets: no errors.
  • mvn clean install (full reactor, with tests): passes.
  • No test resource references the removed options.
  • Per repo convention only kamelets/ is committed; the library/camel-kamelets mirror is regenerated by the post-merge regen bot.

AI-generated by Claude Code on behalf of Andrea Cosentino (@oscerd).

…-sink and slack-sink

Audited the catalog against the Camel 4.21.0 component catalog. Two Kamelets
set endpoint options that Camel marks deprecated:

- pulsar-sink: maxPendingMessagesAcrossPartitions (deprecated on camel-pulsar).
  Removed the optional property and its template mapping; the non-deprecated
  maxPendingMessages option is already exposed and remains.
- slack-sink: iconEmoji and iconUrl (deprecated on camel-slack, since Slack no
  longer supports API-side bot icon overrides for apps). Removed both optional
  properties and their mappings.

The remaining deprecated *component* usages found by the audit (json-patch,
paho/MQTT v3, splunk) have no safe drop-in replacement and are left for a PMC
decision; see the PR description.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
@oscerd oscerd requested review from Croway and davsclaus June 26, 2026 12:03
@oscerd oscerd merged commit dd3842d into apache:main Jun 26, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants