Skip to content

Commit

Permalink
Fix cassandra kamelets
Browse files Browse the repository at this point in the history
* fix prepareStatements sink parameter
* change default consistency level for source
  • Loading branch information
asmigala authored and oscerd committed Jan 18, 2022
1 parent d712cba commit 6408e0b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions kamelets/cassandra-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ spec:
description: Consistency level to use. The value can be one of ANY, ONE, TWO, THREE, QUORUM, ALL, LOCAL_QUORUM, EACH_QUORUM, SERIAL, LOCAL_SERIAL, LOCAL_ONE
type: string
default: ANY
preparedStatement:
title: Prepared Statement
prepareStatements:
title: Prepare Statements
description: Whether to use PreparedStatements or regular Statements as the query.
type: boolean
default: true
Expand Down Expand Up @@ -105,6 +105,6 @@ spec:
parameters:
username: "{{?username}}"
password: "{{?password}}"
preparedStatement: "{{preparedStatement}}"
prepareStatements: "{{prepareStatements}}"
consistencyLevel: "{{consistencyLevel}}"
cql: "{{query}}"
2 changes: 1 addition & 1 deletion kamelets/cassandra-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
title: Consistency Level
description: Consistency level to use. The value can be one of ANY, ONE, TWO, THREE, QUORUM, ALL, LOCAL_QUORUM, EACH_QUORUM, SERIAL, LOCAL_SERIAL, LOCAL_ONE
type: string
default: ANY
default: QUORUM
query:
title: Query
description: The query to execute against the Cassandra cluster table
Expand Down

0 comments on commit 6408e0b

Please sign in to comment.