GithubHelp home page GithubHelp logo

Comments (3)

jerrinot avatar jerrinot commented on May 26, 2024

Hello, @iamkucuk, this indicates questdb JAR is missing on Kafka Connect classpath. The ZIP with connector contains 2 JARs:

  1. the connect itself
  2. questdb jar - this is a dependency of the connector

The stracktrace shows Kafka Connect does not see #2.

from kafka-questdb-connector.

iamkucuk avatar iamkucuk commented on May 26, 2024

Hello @jerrinot Thanks for the fast response! I created a docker file that is very close to the one within the repo. Here it is:

FROM ubuntu:latest AS builder
WORKDIR /opt
RUN apt-get update && apt-get install -y curl wget unzip jq
RUN curl -s https://api.github.com/repos/questdb/kafka-questdb-connector/releases/latest | jq -r '.assets[]|select(.content_type == "application/zip")|.browser_download_url'|wget -qi -
RUN unzip kafka-questdb-connector-*-bin.zip

FROM confluentinc/cp-kafka-connect:7.2.2

COPY --from=builder /opt/kafka-questdb-connector/*.jar /connector/
ENV CONNECT_PLUGIN_PATH=/connector/
USER 1001

What am I missing here?

from kafka-questdb-connector.

iamkucuk avatar iamkucuk commented on May 26, 2024

Apparently CONNECT_PLUGIN_PATH is having you install the plugin, but does not make the code reachable. Using as suggested fixed the specific issue.

Here is the example:
COPY --from=builder /opt/kafka-questdb-connector/*.jar /kafka/connect/questdb-connector/

from kafka-questdb-connector.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.