[Question] oc start-build on a KafkaConnect pod can't seem to find my IBM COS Sink Connector
See original GitHub issueHey so this might be a really silly question but on an OpenShift cluster with the Strimzi Operator installed I have a KafkaConnect S2I pod up.
I might be going about this the wrong way but I built the JAR from this repo https://github.com/ibm-messaging/kafka-connect-ibmcos-sink
Anyways I used an oc start-build connect-cluster-pod --from-dir ./connectors/
where the connectors folder has the built connector binary/JAR. Next I’m trying to create a CRD for a KafkaConnector by applying the below yaml
apiVersion: kafka.strimzi.io/v1alpha1
kind: KafkaConnector
metadata:
name: cos-sink-connector
labels:
strimzi.io/cluster: connect-cluster
spec:
class: com.ibm.eventstreams.connect.cossink.COSSinkConnector
tasksMax: 1
config:
key.converter: org.apache.kafka.connect.storage.StringConverter
value.converter: org.apache.kafka.connect.storage.StringConverter
topics: <topic-name>
cos.api.key: <api-key>
cos.bucket.location: <region>
cos.bucket.name: <bucket-name>
cos.bucket.resiliency: regional
Next when I run oc get kafkaconnector cos-sink-connector -o yaml
I receive this following error
message: 'PUT /connectors/cos-sink-connector/config returned 500 (Internal Server
Error): Failed to find any class that implements Connector and which name
matches com.ibm.eventstreams.connect.cossink.COSSinkConnector
Apologies if I’m going about this in completely the wrong way.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
mvn package error in HTTP Sink connector | Event Streams
Hi, For adding HTTP Sink connector to my event streams, I have cloned the git repo as mentioned in the connector catalog.
Read more >Configuring Strimzi (0.32.0)
Strimzi provides example configuration files, which can serve as a starting point when building your own Kafka component configuration for deployment.
Read more >Setting up and running connectors - IBM Event Streams
Event Streams helps you set up a Kafka Connect environment, add connectors to it, and run the connectors to help integrate external systems....
Read more >RHSA-2022:5069 - Security Advisory - Red Hat Customer Portal
cloud deployments. This advisory contains the container images for Red Hat OpenShift Container Platform 4.11.0. See the following advisory for ...
Read more >Profile for Kafka Connect - Linknovate
Kafka Connect acts as sink to consume the data in real time and ingest it ... follow this Quick Start for Apache Kafka...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually, I think I found it at least locally for my self. I build the JAR with Java 11 while Strimzi 0.18 is still using Java 8. When I rebuild it with Java 8, it seels to show up in the list (I have no idea what the plugin is for, so I haven’t tried it really - just checked the list). Could that be your issue as well?
Yes, we can! Also thanks for the PS as well!