Sign inSign up

kafkaetech/standalone-avro-mirror

By kafkaetech

Updated over 3 years ago
Archived

This is a standalone application that allow you to mirror Avro, String & Bytes messages

Image
0

194

kafkaetech/standalone-avro-mirror repository overview

This docker image allow you to mirror Avro, String/JSON or Byte data from a Source to Target Kafka Clusters.
IMPORTANT : Until this current version, only String KAFKA message key is accepted => other types will be soon available

Configurations

Mandatory Configs
ConfigDescriptionDefault
SOURCE_BOOTSTRAP_SERVERBootstrap server of source Kafka clusterlocalhost:9092
SOURCE_GROUP_IDThe group ID to be used by the consumer on source Kafka clusteravro-mirror-group-id
SOURCE_SCHEMA_REGISTRY_URLThe Schema Registry URL of the source Kafka clusterhttp://localhost:8081
SOURCE_WHITELIST_TOPICSThe comma separated list of the topics to be mirrored from the source cluster. Data types on source topics could be : AVRO, String (simple text or JSON) or Bytes. Before 1.0.0 version, only AVRO is allowedinput_topic_1,input_topic_2
TARGET_BOOTSTRAP_SERVERBootstrap server of the target Kafka clusterlocalhost:9092
TARGET_SCHEMA_REGISTRY_URLThe Schema Registry URL of the target Kafka clusterhttp://localhost:8081
TARGET_TOPIC_PREFIXThe default prefix to be used on the target cluster. Ex: If the source topic is input_topic and the prefix is west1- the target topic will be west1-input_topic
IGNORE_PRODUCING_ERRORLog and ignore errors on producing messages to target clustertrue
Optional Configs

To override any configuration on the consumer of the Source Kafka Cluster, you have just to add a new Env variable prefixed by SOURCE_CONSUMER_. Ex: If you would like to override the auto.offset.reset to earliest => Your Env variable will look like that :

SOURCE_CONSUMER_AUTO_OFFSET_RESET=earliest

To override any configuration on the producer of the Target Kafka Cluster, you have just to add a new Env variable prefixed by TARGET_PRODUCER_. Ex: If you would like to override the compression.type to gzip => Your Env variable will look like that :

TARGET_PRODUCER_COMPRESSION_TYPE=gzip

Tag summary

Content type

Image

Digest

sha256:34771141f

Size

222.8 MB

Last updated

over 3 years ago

docker pull kafkaetech/standalone-avro-mirror:1.0.0