Code Monkey home page Code Monkey logo

zeelos's Issues

Step 10: Error while executing topic command : Replication factor: 1 larger than available brokers: 0.

I execute the commands by changing partitions to 2 & 3
docker exec -it f08819a36e8b bash -c "kafka-topics --create --topic "iot.upboard.management.req" --zookeeper zookeeper-cloud:2181 --partitions 2 --replication-factor 1"

My kafka default config for num of partitions is 3

I am receiving this error

Error while executing topic command : Replication factor: 1 larger than available brokers: 0.

Could you please suggest.

Step 10. could not find container id for kafka-command-client

I couldn't figure out container-id to run the following command.

docker exec -it <container-id> bash -c "kafka-topics --create --topic "iot.upboard.management.req" --zookeeper zookeeper-cloud:2181 --partitions 1 --replication-factor 1"

Attache is my container list screen shot

Screenshot 2019-10-16 at 4 19 25 PM

Step 5. swarm_node.rules.yml: no such file or directory

I tried to run this command in Step 5 and received the following error.
๐Ÿฅƒ zeelos (master) ๐Ÿ’ docker-app deploy monitoring
-----------------_ERROR log --------------------------
WARNING: installing over previously failed installation "monitoring"
Error: Installation failed: Action "install" failed: open configs/prometheus/rules/swarm_node.rules.yml: no such file or directory
container exit code: 1

However the directory exists in the file directory

These are my docker nodes

docker@saturn:~$ docker node ls
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
excijg3jrx0qfxf3o2f5dam2u     rock64              Ready               Active                                  18.09.6
zb0b73n7822482y6gisvyfdlx *   saturn              Ready               Active              Leader              18.09.6
mq0t8bt32fbv88dcu1da2cpg7     tinkerboard         Ready               Active                                  18.09.6
8pksk7k2id3pklby90gj0p907     upboard             Ready               Active                                  18.09.6

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.