This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit d2d3869c35e76645b3e5d4106a55d9999e4db775
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Feb 3 10:28:14 2023 +0100

    Cassandra Kamelets: add extraTypesCodec parameter - Source Kamelet
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/cassandra-source.kamelet.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kamelets/cassandra-source.kamelet.yaml 
b/kamelets/cassandra-source.kamelet.yaml
index 883db1b2..63fd1fd8 100644
--- a/kamelets/cassandra-source.kamelet.yaml
+++ b/kamelets/cassandra-source.kamelet.yaml
@@ -81,6 +81,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:
     out:
       mediaType: application/json
@@ -97,6 +101,7 @@ spec:
         cql: "{{query}}"
         consistencyLevel: "{{consistencyLevel}}"
         resultSetConversionStrategy: "{{resultStrategy}}"
+        extraTypeCodecs: "{{?extraTypeCodecs}}"
       steps:
       - marshal:
           json: {}

Reply via email to