Giter VIP home page Giter VIP logo

topology_apache_pulsar's Introduction

Apache Pulsar topology for clusterdock

This repository houses the Apache Pulsar topology for clusterdock.

Usage

Assuming you've already installed clusterdock (if not, go read the docs), you use this topology by cloning it to a local folder and then running commands with the clusterdock script:

$ git clone https://github.com/clusterdock/topology_apache_pulsar.git
$ pip3 install -r topology_apache_pulsar/requirements.txt
$ clusterdock start topology_apache_pulsar

To see full usage instructions for the start action, use -h/--help:

$ clusterdock start topology_apache_pulsar -h
usage: clusterdock start [--always-pull] [-c name] [--namespace ns] [-n nw]
                         [-o sys] [-p port] [-r url] [-h]
                         [--proxy-node-name hostname] [--pulsar-version ver]
                         [--pulsar-cluster-name name] [--predictable]
                         [--tls {encryption,authentication}]
                         [--zookeeper-nodes node [node ...]]
                         [--broker-nodes node [node ...]]
                         topology

Start a Pulsar cluster

positional arguments:
  topology              A clusterdock topology directory

optional arguments:
  --always-pull         Pull latest images, even if they're available locally
                        (default: False)
  -c name, --cluster-name name
                        Cluster name to use (default: None)
  --namespace ns        Namespace to use when looking for images (default:
                        None)
  -n nw, --network nw   Docker network to use (default: cluster)
  -o sys, --operating-system sys
                        Operating system to use for cluster nodes (default:
                        None)
  -p port, --port port  Publish node port to the host. The format should be
                        "<node name>:<node port>" or "<node name>:<host
                        port>-><node port>" (surrounding quotes are required).
                        Argument may be used more than once for multiple
                        ports. (default: None)
  -r url, --registry url
                        Docker Registry from which to pull images (default:
                        docker.io)
  -h, --help            show this help message and exit

Pulsar arguments:
  --proxy-node-name hostname
                        Pulsar proxy node's host name (default: pulsar)
  --pulsar-version ver  Pulsar version to use (default: 2.1.0)
  --pulsar-cluster-name name
                        Pulsar cluster name to use (default: pulsar-cluster)
  --predictable         If specified, attempt to expose container ports to the
                        same port number on the host (default: False)
  --tls {encryption,authentication}
                        If specified, enable TLS encryption or authentication
                        for proxy and broker nodes (default: None)

Node groups:
  --zookeeper-nodes node [node ...]
                        Nodes of the zookeeper-nodes group (default:
                        ['zookeeper-1'])
  --broker-nodes node [node ...]
                        Nodes of the broker-nodes group (default: ['broker-1',
                        'broker-2'])

topology_apache_pulsar's People

Contributors

srids avatar jarcec avatar dimaspivak avatar

Stargazers

Timothy Spann avatar

Watchers

James Cloos avatar  avatar

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.