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

Kamelet aws-ddb-streams-source integration fails due to iteratorType, sequenceNumberProvider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • camel-k-1.8
    • camel-k-1.8
    • Camel-K
    • None
    • False
    • None
    • False
    • % %
    • Todo

      On OCP 4.10, with build 2022.3-CK6 simple CK integration with required parameters (table, accessKey, secretKey, region) fails:

      [1] Caused by: org.apache.camel.VetoCamelContextStartException: Failure creating route from template: aws-ddb-streams-source
      [1] 	at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.onContextInitialized(KameletComponent.java:422)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:2871)
      [1] 	at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:172)
      [1] 	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2568)
      [1] 	... 23 more
      [1] Caused by: org.apache.camel.component.kamelet.KameletNotFoundException: Kamelet with id aws-ddb-streams-source not found in locations: classpath:/kamelets
      [1] 	at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.createRouteForEndpoint(KameletComponent.java:410)
      [1] 	at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.onContextInitialized(KameletComponent.java:419)
      [1] 	... 27 more
      [1] Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route aws-ddb-streams-source-1: Route(aws-ddb-streams-source-1)[From[aws2-ddbstream:{{table}... because of Failed to resolve endpoint: aws2-ddbstream://lfabrikoTest?accessKey=RAW(XY)&iteratorType=LATEST&region=us-west-1&secretKey=xxxxxx&sequenceNumberProvider=000000000000000000000 due to: Failed to resolve endpoint: aws2-ddbstream://lfabrikoTest?accessKey=RAW(XY)&iteratorType=LATEST&region=us-west-1&secretKey=xxxxxx&sequenceNumberProvider=000000000000000000000 due to: There are 2 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{iteratorType=LATEST, sequenceNumberProvider=000000000000000000000}]
      [1] 	at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:80)
      [1] 	at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49)
      [1] 	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:874)
      [1] 	at org.apache.camel.component.kamelet.KameletComponent$LifecycleHandler.createRouteForEndpoint(KameletComponent.java:405)
      [1] 	... 28 more
      

              pcongius Pasquale Congiusti
              lfabriko@redhat.com Lucie Krejcirova
              Andrej Vano Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: