Skip to content

How to use plugin detail? #1

@letiennam29

Description

@letiennam29

Hi @py8765 , I need plugin for master as high availability. And i read module this it is that i need.

But I don't understand config path, server in below code:

var masterhaPlugin = require('pomelo-masterha-plugin');

app.configure('production|development', function() {

app.use(masterhaPlugin, {
zookeeper: {
server: '127.0.0.1:2181',
path: '/pomelo/master'
}
});

});

You can help, say no more about it? Tks u!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions