question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] oc start-build on a KafkaConnect pod can't seem to find my IBM COS Sink Connector

See original GitHub issue

Hey 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:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
scholzjcommented, Jun 11, 2020

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?

0reactions
jackyng88commented, Jun 11, 2020

So, I guess we can close this issue now?

(PS: From next release we will use Java 11 as runtime)

Yes, we can! Also thanks for the PS as well!

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found