saranyaeu2987 edited a comment on issue #282:
URL: 
https://github.com/apache/camel-kafka-connector/issues/282#issuecomment-646699151


   @oscerd 
   I get this error now. If my S3Client class and yaml file right ?
   
   **org.apache.camel.ResolveEndpointFailedException: Failed to resolve 
endpoint: 
aws2-s3://heb-stg-emd-store-raw-ora.pemd?keyName=s3-connect/20200619/20200619-152832018
 due to: useIAMCredentials is set to false, AmazonS3Client or accessKey and 
secretKey must be specified**
   
   Here is the kafkaconnector.yaml file
   
   ```
   apiVersion: kafka.strimzi.io/v1alpha1
   kind: KafkaConnector
   metadata:
     name: s3-abcde-connector
     labels:
       strimzi.io/cluster: emd-kafka-cluster
   spec:
     class: org.apache.camel.kafkaconnector.CamelSinkConnector
     tasksMax: 1
     config:
       key.converter: org.apache.kafka.connect.storage.StringConverter
       value.converter: org.apache.kafka.connect.storage.StringConverter
       topics: DB.EMD.COMPANY.0
       camel.sink.url: 
aws-s3://testse1232?keyName=s3-connect/${date:now:yyyyMMdd}/${date:now:yyyyMMdd-HHmmssSSS}
       camel.sink.maxPollDuration: 1000
       camel.sink.maxBatchPollSize: 10
       camel.component.aws2-s3.configuration.autocloseBody: false
       
camel.sink.endpoint.amazonS3Client:org.apache.camel.kafkaconnector.CustomS3Client
   
   
   ```


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