Giter Site home page Giter Site logo

kafkareplicationtool's Introduction

KafkaManager

A tool for adjusting the replication factors of kafka topics.

This is a WIP

Screen Shots

Cluster Overview Display

Cluster Overview

Partition Assignment Matrix

Partition Assignment Matrix

Directions

The workflow of this tool is preliminary. The exposed Scala API from the upstream Kafka admin tool collection is not designed to be used as an integration point for third part tools.

Much status information is still logged to STDOUT instead of propagated to the UI.

Example Marathon App Definition

Docker Hub Link

It's easy to deploy this tool with DC/OS - Marathon:

{
    "id"   : "kafka-repartition-tool",
    "cpus" : 0.5,
    "mem"  : 512,
    "instances" : 1,
    "container": {
        "type": "DOCKER",
        "docker": {
            "image": "becoinc/kafka_repartition_tool:latest",
            "network": "BRIDGE",
            "forcePullImage": true,
            "portMappings": [
                {
                    "hostPort": 0,
                    "containerPort": 8080,
                    "servicePort": 0
                }
            ]
        }
    },
    "env": {
        "SPRING_KAFKA_BOOTSTRAP-SERVERS[0]" : "broker.kafka.l4lb.thisdcos.directory:9092",
        "ZOOKEEPER_URL" : "zk-1.zk:2181,zk-2.zk:2181,zk-3.zk:2181,zk-4.zk:2181,zk-5.zk:2181/dcos-service-kafka"
    },
    "labels": {
        "PROMETHEUS_MONITOR": "http"
    },
    "healthChecks": [
        {
            "protocol": "HTTP",
            "portIndex" : 0,
            "path" : "/internal/monitor/health",
            "gracePeriodSeconds": 180,
            "timeoutSeconds": 5,
            "intervalSeconds": 10,
            "maxConsecutiveFailures": 3
        }
    ],
    "upgradeStrategy": {
        "minimumHealthCapacity": 0,
        "maximumOverCapacity": 0
    }
}

Contributing

Master branch is the current stable version.

Develop branch is the current CI/CD branch.

kafkareplicationtool's People

Contributors

jzampieron avatar

Stargazers

Angel Conde avatar Ivan Turčinović avatar

Watchers

James Cloos avatar David Bows avatar Martin Rybak avatar Ivan Turčinović avatar  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.