Uploaded image for project: 'Camel-K'
  1. Camel-K
  2. CMLK-1083

Splunk-source kamelet - initEarliestTime is required parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • camel-k-1.10.5
    • camel-k-1.10.1
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Very Likely
    • 0

      If initEarliestTime isn't specified, KameletBinding with splunk-source kamelet throws IllegalArgExc:

      [1] 2023-08-06 13:47:54,032 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.FailedToStartRouteException: Failed to start route source because of null
      ...
      [1] Caused by: java.lang.IllegalArgumentException: Required initialEarliestTime option could not be found
      [1]     at org.apache.camel.component.splunk.SplunkEndpoint.createConsumer(SplunkEndpoint.java:75)
      [1]     at org.apache.camel.impl.engine.DefaultRoute.gatherRootServices(DefaultRoute.java:636)
      
      

      Viz:
      https://github.com/apache/camel/blob/main/components/camel-splunk/src/main/java/org/apache/camel/component/splunk/SplunkEndpoint.java#L75

      Observed with released Camel K 1.10.1.

          There are no Sub-Tasks for this issue.

              acosenti Andrea Cosentino
              lfabriko@redhat.com Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: