Sign inSign up

deciphernow/zookeeper

By deciphernow

Updated about 6 years ago

An Kafka image suitable for local development or deployment.

Image
0

957

deciphernow/zookeeper repository overview

deciphernow/zookeeper

This repository contains the resources for building the deciphernow/zookeeper image. This image is geared towards both local development and deployment in containerized infrastructure such as Kubernetes. Further, it follows RedHat's best practices making it suitable for deployment within OpenShift without any elevated priviledges.

Usage

This image is configured to run in a single instance deployment out of the box. However, if you wish to deploy an ensemble or further tailor the parameters the following configuration values are exposed as environment variables:

VariableExampleDefaultDescription
INIT_LIMIT1010The number of ticks the server has to join the quorum.
LOG_LEVELINFOINFOThe log level for the server.
SERVERzk01localhostThe hostname of the server.
SERVERSzk01,zk02,zk03localhostThe hostname of all servers in the quorum.
SYNC_LIMIT55The number of ticks before a server leaves the quorum.
TICK_TIME20002000The number of milliseconds in a tick.

Development

This repository is pretty simple and everything you want to know can be seen in the Makefile.

Prerequisites

In order to develop and test with this repository you will need the following installed:

- docker
- git
- make
Building

To build the image run the following command:

make build

To publish the image run the following command:

make publish
Versioning

The version of this image tracks directly with the version of ZooKeeper built. In order to update the version of ZooKeeper modify the VERSION file with the version needed.

Contributing

In general, we follow the "fork-and-pull" Git workflow.

  1. Clone the project to your own machine.)
  2. Commit changes to your own branch.
  3. Push your work back up to your fork.
  4. Submit a pull request so that we can review your changes.

NOTE: Be sure to fetch and rebase on the upstream master before making a pull request.

Tag summary

Content type

Image

Digest

Size

113.8 MB

Last updated

about 6 years ago

docker pull deciphernow/zookeeper