Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-18304

Cassandra sink kamelet fails with unknown property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • camel-k-1.6.6
    • camel-k-1.6-GA
    • Camel-K
    • None
    • False
    • False
    • Yes
    • % %
    • Todo

      The cassandra-sink kamelet has a property preparedStatement where the query should be specified. However, doing so results in the following error when running any integration referencing the kamelet:

       

       

      Property with key [preparedStatement] not found in properties from text: cql://cassandra:9042/kamelet1642496715541?consistencyLevel=ANY&password=cassandra&preparedStatement={{preparedStatement}}&username={{username}}
          at org.apache.camel.component.properties.DefaultPropertiesParser$ParsingContext.getPropertyValue(DefaultPropertiesParser.java:284)

       

       

       

      Indeed, there is no preparedStatement parameter according to the docs.

       

      Changing the parameter name in the kamelet spec to cql instead works correctly.

            asmigala@redhat.com Andrej Smigala
            asmigala@redhat.com Andrej Smigala
            Andrej Vano Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: