You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "mackaw (via GitHub)" <gi...@apache.org> on 2024/12/17 17:00:23 UTC

[I] Getting error on camel splunk hec connector Failed to resolve endpoint: ... due to: Invalid URI [camel-kafka-connector]

mackaw opened a new issue, #1692:
URL: https://github.com/apache/camel-kafka-connector/issues/1692

   Connector camel-splunk-hec-sink-kafka-connector version is 4.8.0 it is placed on kafka strimzi image. 
   
   My connector yaml looks like below:
   ```
   apiVersion: kafka.strimzi.io/v1beta2
   kind: KafkaConnector
   metadata:
     name: splunk-connector-test
     labels:
       strimzi.io/cluster: connect-cluster
   spec:
     class: org.apache.camel.kafkaconnector.splunkhecsink.CamelSplunkhecsinkSinkConnector
     tasksMax: 5
     config:
       topics: <topic_name>
       camel.kamelet.splunk-hec-sink.splunkUrl: ip_address:8088
       camel.kamelet.splunk-hec-sink.token: <hec-token>
       camel.kamelet.splunk-hec-sink.skipTlsVerify: true
       camel.kamelet.splunk-hec-sink.splunkEndpoint: /services/collector/raw
       key.converter: org.apache.kafka.connect.storage.StringConverter
       value.converter: org.apache.kafka.connect.storage.StringConverter
   ```
   after deploy it to my kubernetes im getting error (part of error stack):
   
   org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:231)... 56 more
   Caused by: java.lang.IllegalArgumentException: Invalid URI: splunk-hec://ip_address:8088/hec-token?bodyOnly=false&headersOnly=false&https=true&skipTlsVerify=true at
   org.apache.camel.component.splunkhec.SplunkHECComponent.createEndpoint(SplunkHECComponent.java:43) at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171) at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:805)... 63 more"
   
   what im doing wrong ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Getting error on camel splunk hec connector Failed to resolve endpoint: ... due to: Invalid URI [camel-kafka-connector]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #1692:
URL: https://github.com/apache/camel-kafka-connector/issues/1692#issuecomment-2549115896

   It's a bug, thanks for reporting: https://github.com/apache/camel-kamelets/issues/2318


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Getting error on camel splunk hec connector Failed to resolve endpoint: ... due to: Invalid URI [camel-kafka-connector]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #1692:
URL: https://github.com/apache/camel-kafka-connector/issues/1692#issuecomment-2549138056

   This has been fixed on the Kamelets side, it will be available in 4.8.3 camel-kamelets and after that we could release 4.8.3 for CKC


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Getting error on camel splunk hec connector Failed to resolve endpoint: ... due to: Invalid URI [camel-kafka-connector]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #1692:
URL: https://github.com/apache/camel-kafka-connector/issues/1692#issuecomment-2626683908

   The release is on vote. Closing this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Getting error on camel splunk hec connector Failed to resolve endpoint: ... due to: Invalid URI [camel-kafka-connector]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd closed issue #1692: Getting error on camel splunk hec connector Failed to resolve endpoint: ... due to: Invalid URI
URL: https://github.com/apache/camel-kafka-connector/issues/1692


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org