Git Product home page Git Product logo

Comments (6)

solsson avatar solsson commented on August 28, 2024

You won't get outside zookeeper access. Do administration from inside, and use the new kind of bootstrapping for outside clients.

from kubernetes-kafka.

ranjanshubham avatar ranjanshubham commented on August 28, 2024

"Do administration from inside" . Pardon ! But I didn't get you. Can you please be a little more informative.
Much appreciated :)

from kubernetes-kafka.

solsson avatar solsson commented on August 28, 2024

With new kafka versions you basically only need zookeeper access for topic maintenance etc. For everything else use "bootstrap servers", which works using the Outside services.

from kubernetes-kafka.

ranjanshubham avatar ranjanshubham commented on August 28, 2024

" --override advertised.listeners="INTERNAL_PLAINTEXT://${HOSTNAME}.broker.kafka.svc.cluster.local:9092,EXTERNAL_PLAINTEXT://$(eval wget -t3 -T2 -qO- http://169.254.169.254/latest/meta-data/public-hostname):9093" "
I have been asking a lot of questions .
But, What is this External Plaintext referring to ?
And could you help me with the command for kafka-producer ?

from kubernetes-kafka.

albamoro avatar albamoro commented on August 28, 2024

@ranjanshubham, if it helps, I applied to zookeeper the same logic applied to the brokers, i.e. I added a NodePort service as in /outside-services/outside-xxx.yml and changed the zookeeper/10zookeeper-config.yml accordingly so that labels were applied to the zk pods in order for the service selector to apply.

I couldn't tell you how orthodox or otherwise this approach is but I currently use zookeeper to retrieve the bootstrap broker list for my external clients so I need the service exposed.

from kubernetes-kafka.

solsson avatar solsson commented on August 28, 2024

I think this is too generic for this repo. It's a general Kafka question and I can only refer to for example the Kafka Definitive Guide book.

from kubernetes-kafka.

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.