This is an automated email from the ASF dual-hosted git repository.
oscerd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new dd3842da5 Fix #2830: Remove deprecated Camel endpoint options from
pulsar-sink and slack-sink (#2886)
dd3842da5 is described below
commit dd3842da557a1f9b32fbc69a2f8ea9df2fd05c7b
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Jun 26 14:46:07 2026 +0200
Fix #2830: Remove deprecated Camel endpoint options from pulsar-sink and
slack-sink (#2886)
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.
Signed-off-by: Andrea Cosentino <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
---
kamelets/pulsar-sink.kamelet.yaml | 6 ------
kamelets/slack-sink.kamelet.yaml | 10 ----------
2 files changed, 16 deletions(-)
diff --git a/kamelets/pulsar-sink.kamelet.yaml
b/kamelets/pulsar-sink.kamelet.yaml
index 8456e058b..8856e601e 100644
--- a/kamelets/pulsar-sink.kamelet.yaml
+++ b/kamelets/pulsar-sink.kamelet.yaml
@@ -112,11 +112,6 @@ spec:
description: "Size of the pending massages queue. When the queue is
full, by default, any further sends will fail unless blockIfQueueFull=true."
type: integer
default: 1000
- maxPendingMessagesAcrossPartitions:
- title: Maximum Pending Messages Across Partitions
- description: "The maximum number of pending messages for partitioned
topics. The `maxPendingMessages` value is reduced if (number of partitions
`maxPendingMessages`) exceeds this value. Partitioned topics have a pending
message queue for each partition."
- type: integer
- default: 50000
messageRoutingMode:
title: Message Routing Mode
description: "Message Routing Mode to use."
@@ -151,7 +146,6 @@ spec:
initialSequenceId: "{{?initialSequenceId}}"
lazyStartProducer: "{{?lazyStartProducer}}"
maxPendingMessages: "{{?maxPendingMessages}}"
- maxPendingMessagesAcrossPartitions:
"{{?maxPendingMessagesAcrossPartitions}}"
messageRoutingMode: "{{?messageRoutingMode}}"
producerName: "{{?producerName}}"
sendTimeoutMs: "{{?sendTimeoutMs}}"
diff --git a/kamelets/slack-sink.kamelet.yaml b/kamelets/slack-sink.kamelet.yaml
index bf4d52927..9367d6f95 100644
--- a/kamelets/slack-sink.kamelet.yaml
+++ b/kamelets/slack-sink.kamelet.yaml
@@ -48,14 +48,6 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
- iconEmoji:
- title: Icon Emoji
- description: Use a Slack emoji as an avatar.
- type: string
- iconUrl:
- title: Icon URL
- description: The avatar to use when sending a message to a channel or
user.
- type: string
types:
out:
mediaType: application/json
@@ -71,5 +63,3 @@ spec:
uri: "slack:{{channel}}"
parameters:
webhookUrl: "{{webhookUrl}}"
- iconEmoji: "{{?iconEmoji}}"
- iconUrl: "{{?iconUrl}}"