ruchirvaninasdaq commented on issue #95: Not able to run aws s3 source 
connector 
URL: 
https://github.com/apache/camel-kafka-connector/issues/95#issuecomment-591020491
 
 
   As I am using the stimzi, I followed the documentation to deploy the 
connector to the my strimzi cluster. 
    
   This is my docker File:
   ```
   FROM strimzi/kafka:latest-kafka-2.3.0 as s3-xml-connect
   USER root:root
   
   #Copy in jars (I have build the jars using the `mvn clean package`)
   #Moving the plugins file from 
`camel-kafka-connector\core\target\camel-kafka-connector-0.0.1-SNAPSHOT-package\share\java>`
 to kafka-plugins folder. 
   COPY . .
   
   #Move plugins
   COPY plugins/camel-kafka-connector/ /opt/kafka/plugins/
   ```
   
   SO I run this docker file and push the image to the internal gitlab registry.
   
   This is my connector deployment yaml file:
   ```
   apiVersion: kafka.strimzi.io/v1beta1
   kind: KafkaConnect
   metadata:
     name: my-connect-cluster
   #  annotations:
   #  # use-connector-resources configures this KafkaConnect
   #  # to use KafkaConnector resources to avoid
   #  # needing to call the Connect REST API directly
   #    strimzi.io/use-connector-resources: "true"
   spec:
     version: 2.3.0
     replicas: 1
     bootstrapServers: kafka-cluster-kafka-bootstrap.rucvan:9092
     image: {insternal gitlab repo}/s3-xml-connect:latest
   ```
   I use the follwing command to deploy the connector:
   `kubectl apply -f my-cluster-connect.yaml -n rucvan`
   
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to