Giter VIP home page Giter VIP logo

Comments (2)

OUCHUNYU avatar OUCHUNYU commented on July 16, 2024

@sandeepmalik Any thoughts?

from bigben.

sandeepmalik avatar sandeepmalik commented on July 16, 2024

HI @OUCHUNYU , this is indeed strange. I thought I had documented the cluster operation but after looking at the ReadMe I realized I had not documented it properly. I will update the documentation (as soon as I get the write access again, which I am awaiting). But this is how you run it in the cluster mode:

Take a look at the bigben.yaml (https://github.com/walmartlabs/bigben/blob/master/app/src/main/resources/bigben.yaml)

There's an hz section in there. All you need to do is set up the member ips (comma separated) (and change the port if using a different port).

hz:
network:
members: IP1,IP2,IP3

You don't need to list all the IPs (the more the better) but at least provide a couple of IPs (seeds) at least.

You can also provide this setting through the system property as -Dhz.network.members="IP1,IP2,IP3" as well.

After that call the cluster API (GET /events/cluster) to ensure that cluster is property formed and a master is chosen.

Hope this helps.

from bigben.

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.