Git Product home page Git Product logo

kafka-mirrormaker-docker's Introduction

kafka-mirrormaker-docker

Docker Pulls

A Docker image that executes a kafka MirrorMaker process. It follows the Dockerfile template creation as specified by Confluent's own images.

The image follows Confluent platform versioning so that is easier for you to match your own Kafka installation, that is you can use either tag 4.1.1 or 5.0.0 to match your specific versions.

An example usage in a docker-compose.yml file can be like the following. Note the usage of MIRRORMAKER_ prefix (for MirrorMaker specific configuration), CONSUMER_ (for consumer configuration) and PRODUCER_ (for producer configuration).

  kafka-mirrormaker:
    image: zeelos/kafka-mirrormaker:4.1.1
    environment:
      - MIRRORMAKER_WHITE_LIST=^server1_((?!req).)*$$
      - MIRRORMAKER_ABORT_ON_SEND_FAILURE=true
      - MIRRORMAKER_OFFSET_COMMIT_INTERVAL=60000
      - MIRRORMAKER_NUM_STREAMS=1
      - MIRRORMAKER_CONSUMER_REBALANCE_LISTENER=org.mypackage.MyListener
      - MIRRORMAKER_CONSUMER_REBALANCE_LISTENER_ARGS=arg1,arg2
      - MIRRORMAKER_MESSAGE_HANDLER=org.mypackage.MyHandler
      - MIRRORMAKER_MESSAGE_HANDLER_ARGS=arg1,arg2
      - CONSUMER_BOOTSTRAP_SERVERS=kafka-source-server:9092
      - CONSUMER_GROUP_ID=MirrorMaker
      - CONSUMER_AUTO_OFFSET_RESET=latest
      - PRODUCER_BOOTSTRAP_SERVERS=kafka-destination-server:9092
    ...

NOTE: Make sure you correctly escape your regular expression for 'MIRRORMAKER_WHITE_LIST' configuration so that no to conflict with docker during expansion. In the example above, we used a double dollar sign ($$) to escape the single dollar ($).

kafka-mirrormaker-docker's People

Contributors

cvasilak avatar nicovogelaar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kafka-mirrormaker-docker's Issues

How do i increase log verbosity?..

How do i increase log verbosity?.. It would be nice to see everything what's going on behind the scenes while developing/debugging :)
I have tried:

    environment:
      LOG4J_LOGGER_ORG_APACHE_KAFKA: DEBUG

it did not work :(

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.