OlyaVashchenko opened a new issue #1077:
URL: https://github.com/apache/camel-kafka-connector/issues/1077


   Hello. I'm trying to use **camel-https-kafka-connector** to _POST_ data into 
_SuccessFactors_ (with basic authentication - username and password) and get 
the following **error in my console**: 
   ```
   Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to 
resolve endpoint: 
https://https:apisalesdemo8.successfactors.com/odata/v2/upsert?httpMethod=POST 
due to: The uri part is not configured correctly. You have duplicated the 
http(s) protocol.
           at 
org.apache.camel.component.http.HttpComponent.createEndpoint(HttpComponent.java:298)
           at 
org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
           at 
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:920)
   ```
   My **.properties** file:
   ```
   name=CamelHttpsSinkConnector
   connector.class=org.apache.camel.kafkaconnector.https.CamelHttpsSinkConnector
   tasks.max=1
   key.converter=org.apache.kafka.connect.storage.StringConverter
   value.converter=org.apache.kafka.connect.storage.StringConverter
   topics=camel-test
   
camel.sink.path.httpUri=apisalesdemo8.successfactors.com/odata/v2/upsert?processInactiveEmployees=true&purgeType=full
   camel.sink.endpoint.httpMethod=POST
   #camel.sink.endpoint.authMethod=Basic
   #camel.sink.endpoint.authUsername=xxx
   #camel.sink.endpoint.authPassword=xxx
   ```
   If I uncomment the authentication part, I get an error of the same nature.
   Kafka version: 2.13-2.7.0, connector version: 0.8.0


----------------------------------------------------------------
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.

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


Reply via email to