Git Product home page Git Product logo

Comments (3)

rmoff avatar rmoff commented on May 23, 2024

How much memory have you allocated to Docker? What's the docker-compose logs kafka show as the reason for it exiting?

For general questions about the capabilities of ksqlDB head to http://cnfl.io/slack and the #ksqldb channel.

from demo-scene.

scheung38 avatar scheung38 commented on May 23, 2024

Screenshot 2020-08-10 at 19 41 47

Screenshot 2020-08-09 at 22 24 11

Hi Robin

Is confluent-hub install jcustenborder/kafka-connect-spooldir:2.0.43 a one time install?

Not sure why this is needed every time Mac machine starts up

does not return anything until installation of this connector happens next time?

even after installing connecting

curl -s localhost:8083/connector-plugins|jq '.[].class'|egrep 'SpoolDir

is not returning anything from time to time?

from demo-scene.

scheung38 avatar scheung38 commented on May 23, 2024

OK

now it is returning:

Screenshot 2020-08-09 at 22 27 17

within the docker-compose.yml does this mean user needs to install the kafka-connect-spooldir manually on the host machine or inside docker then? Since neither of these were set:

/usr/share/java,/usr/share/confluent-hub-components

Hence spooldir was not available after docker-compose starts?

  CONNECT_PLUGIN_PATH: '/usr/share/java,/usr/share/confluent-hub-components/'
command: 
  - bash 
  - -c 
  - |
    echo "Installing connector plugins"
    confluent-hub install --no-prompt confluentinc/kafka-connect-jdbc:5.5.0
    confluent-hub install --no-prompt jcustenborder/kafka-connect-spooldir:2.0.43

EDIT: Realized didn't put correct path into docker-compose CONNECT_PLUGIN_PATH

so now:

  CONNECT_PLUGIN_PATH: '/usr/share/java,/usr/local/Cellar/confluent-platform/5.5.1/libexec/share/confluent-hub-components'

docker-compose up kafka-connect

But why

curl -s localhost:8083/connector-plugins|jq '.[].class'|egrep 'SpoolDir'
➜ csv-to-kafka git:(master) ✗

sometimes It returns and at other times SpoolDir not present?

Do I need to change
image: confluentinc/cp-kafka-connect-base:5.5.0

to a local image from Dockerfile as shown in video to work?

Also:

kafka-connect | [main] WARN org.apache.kafka.clients.ClientUtils - Couldn't resolve server kafka:29092 from bootstrap.servers as DNS resolution failed for kafka
kafka-connect | [main] ERROR io.confluent.admin.utils.cli.KafkaReadyCommand - Error while running kafka-ready.

Screenshot 2020-08-10 at 01 49 49

from demo-scene.

Related Issues (20)

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.