Public Repository

Last pushed: 2 years ago
Short Description
Go version of Kafka MirrorMaker
Full Description

Simple setup of go kafka mirror maker client. Use Go Kafka Client.

To provide required consumer and producer configurations you can add mapping of volume /mirrormaker. Example:

$ docker run -v /mirrormaker:/mirrormaker jetthoughts/go_kafka_mirrormaker --consumer.config /mirrormaker/sourceCluster1Consumer.config --consumer.config /mirrormaker/sourceCluster2Consumer.config --num.streams 2 --producer.config /mirrormaker/targetClusterProducer.config --whitelist=".*"

ElasticBeanstalk Deploy

Example of Dockerrun.aws.json:

{
  "AWSEBDockerrunVersion": "1",
  "Image": {
    "Name": "jetthoughts/go_kafka_mirrormaker",
    "Update": "true"
  },
  "Command": "--consumer.config /mirrormaker/consumer.config --producer.config /mirrormaker/producer.config --whitelist=test --prefix=go_ --num.streams=10",
  "Volumes": [
    {
      "HostDirectory": "/",
      "ContainerDirectory": "/mirrormaker"
    }
  ]
}

Dockerfile:

FROM jetthoughts/go_kafka_mirrormaker:latest
EXPOSE 8080
ENTRYPOINT ["/go/bin/mirrormaker"]
VOLUME     /mirrormaker
CMD        ["--help"]
Docker Pull Command
Owner
jetthoughts

Comments (0)