mirrormaker

command module
v0.0.0-...-809ae57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2022 License: BSD-2-Clause Imports: 20 Imported by: 0

README

mirrormaker

A simple mirrormaker written in go, supporting compression and different partitioners for mirroring.

Features

  • Compression of messages (gzip,lz4,snappy,none)
  • Partitioning in different ways:
    • hash (it will read the partition key of the source message and partition it again)
    • keepPartition (it will write the message to the same partition on the target topic as it was read from the source topic)
    • random (just a random partitioner)
    • modulo (SourcePartiton % NumPartitionsOfTargetTopic) this works good if you want to replicate from many to less partitions. If the source topic has less or the same number of partitions this will work like keepPartition.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL