Giter Site home page Giter Site logo

zookeeper.service missing about kafka-el7-rpm HOT 7 CLOSED

id avatar id commented on June 27, 2024
zookeeper.service missing

from kafka-el7-rpm.

Comments (7)

mrdvt92 avatar mrdvt92 commented on June 27, 2024 2

Zookeeper is a separate application, it's not a part of Kafka.

These files come with official Kafka distribution.

These statements. appear to me to be conflicting.

I'm no Kafka or Systemd expert but it appears logical that since you added the kafka.service that adding the zookeeper.service follows in the same spirit.

from kafka-el7-rpm.

id avatar id commented on June 27, 2024

Kafka has to be able to connect to zookeeper, otherwise it won't work. Nevertheless, Zookeeper is a separate application, it's not a part of Kafka.

from kafka-el7-rpm.

mrdvt92 avatar mrdvt92 commented on June 27, 2024

Zookeeper is a separate application, it's not a part of Kafka.

Then please remove the zookeeper parts from generated RPM or place in their own RPM.

$ rpm -qlp RPMS/x86_64/kafka-2.0.1-2.x86_64.rpm  | grep zoo
/opt/kafka/bin/zookeeper-security-migration.sh
/opt/kafka/bin/zookeeper-server-start.sh
/opt/kafka/bin/zookeeper-server-stop.sh
/opt/kafka/bin/zookeeper-shell.sh
/opt/kafka/config/zookeeper.properties
/opt/kafka/libs/zookeeper-3.4.13.jar

from kafka-el7-rpm.

id avatar id commented on June 27, 2024

Why would I do that?
These files come with official Kafka distribution.

from kafka-el7-rpm.

virtualdxs avatar virtualdxs commented on June 27, 2024

I have to agree with @mrdvt92. Either zookeeper is included or it isn't. There should be a zookeeper.service or the zookeeper files should not be included.

from kafka-el7-rpm.

id avatar id commented on June 27, 2024

@virtualdxs @mrdvt92 zookeeper files are zookeeper client libraries, without them kafka will not be able to connect to zookeeper.
It just happened that zookeeper client code and server code is shipped in the same jar file.

from kafka-el7-rpm.

virtualdxs avatar virtualdxs commented on June 27, 2024

These files:

/opt/kafka/bin/zookeeper-server-start.sh
/opt/kafka/bin/zookeeper-server-stop.sh

Are clearly part of the zookeeper server. The zookeeper server is included in Kafka. I've opened #25 which makes all the changes needed to make zookeeper run and allow Kafka to start.

from kafka-el7-rpm.

Related Issues (7)

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.