Giter Site home page Giter Site logo

kafka-kubernetes's Introduction

kafka-kubernetes

This project is a simple representation of how you can deploy kafka queue to kubernetes cluster with an essentil components

kafka-kubernetes's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kafka-kubernetes's Issues

Split brain Zookeeper?

Even number of Zookeeper servers is never recommended. Also, how can your set Zookeeper ID to the same value within a functional cluster?

ava.io.IOException: Connection to 192.168.1.240:30718 (id: 0 rack: null) failed.

Hi, I followed your steps and deployed each of the yaml files into my local minikube, when I check the pods:
kubectl get pods
it listed all the 4 pods, but when I use the command:
kubectl exec --stdin --tty kafka-broker0-f8d94d678-54c8x -- /bin/sh
to shell into the kafka broker, and went to check the controller.log, it showed the following error messages, it seems it can not connect to the ip address 192.168.1.240, my local machine is a macbook, when I use command
ifconfig, I got the en0 ip: 192.168.1.2, then I used this ip to replace the 192.168.1.240, I got the same error, any clues?

Thanks!

Error when using 192.168.1.2 for name: KAFKA_ADVERTISED_HOST_NAME:

java.io.IOException: Connection to 192.168.1.2:30718 (id: 0 rack: null) failed.
at org.apache.kafka.clients.NetworkClientUtils.awaitReady(NetworkClientUtils.java:71)
at kafka.controller.RequestSendThread.brokerReady(ControllerChannelManager.scala:292)
at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:246)
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:96)

Error when using 192.168.1.240 for name: KAFKA_ADVERTISED_HOST_NAME:

[2021-04-23 19:45:56,793] WARN [RequestSendThread controllerId=0] Controller 0's connection to broker 192.168.1.240:30718 (id: 0 rack: null) was unsuccessful (kafka.controller.RequestSendThread)
java.io.IOException: Connection to 192.168.1.240:30718 (id: 0 rack: null) failed.
at org.apache.kafka.clients.NetworkClientUtils.awaitReady(NetworkClientUtils.java:71)
at kafka.controller.RequestSendThread.brokerReady(ControllerChannelManager.scala:292)
at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:246)
at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:96)

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.