You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/02/03 09:35:00 UTC
[camel-kamelets] 02/05: Cassandra Kamelets: add extraTypesCodec parameter - Sink Kamelet
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch cql-extra-codecs-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 6d6bf07ca7e0fb94cdc63ba685ad39a3539e898e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 3 10:22:10 2023 +0100
Cassandra Kamelets: add extraTypesCodec parameter - Sink Kamelet
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../src/main/resources/kamelets/cassandra-sink.kamelet.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
index 97bef79c..236ba1f2 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
@@ -85,6 +85,10 @@ spec:
title: Query
description: The query to execute against the Cassandra cluster table.
type: string
+ extraTypeCodecs:
+ title: Extra Type Codecs
+ description: To use a specific comma separated list of Extra Type codecs. Possible values are BLOB_TO_ARRAY, BOOLEAN_LIST_TO_ARRAY, BYTE_LIST_TO_ARRAY, SHORT_LIST_TO_ARRAY, INT_LIST_TO_ARRAY, LONG_LIST_TO_ARRAY, FLOAT_LIST_TO_ARRAY, DOUBLE_LIST_TO_ARRAY, TIMESTAMP_UTC, TIMESTAMP_MILLIS_SYSTEM, TIMESTAMP_MILLIS_UTC, ZONED_TIMESTAMP_SYSTEM, ZONED_TIMESTAMP_UTC, ZONED_TIMESTAMP_PERSISTED, LOCAL_TIMESTAMP_SYSTEM and LOCAL_TIMESTAMP_UTC
+ type: string
types:
in:
mediaType: application/json
@@ -108,3 +112,4 @@ spec:
prepareStatements: "{{prepareStatements}}"
consistencyLevel: "{{consistencyLevel}}"
cql: "{{query}}"
+ extraTypeCodecs: "{{?extraTypeCodecs}}"