Skip to content

Bridge to replicate NATS Subjects or Channels to NATS Subject or Channels

License

Notifications You must be signed in to change notification settings

artificialinc/nats-replicator

 
 

Repository files navigation

NATS

NATS Replicator

License ReportCard Build

This project implements a multi-connector bridge, copier, replicator between NATS and NATS streaming endpoints.

Features

  • Arbitrary subjects in NATS, wildcards for incoming messages
  • Arbitrary channels in NATS streaming
  • Optional durable subscriber names for streaming
  • Configurable std-out logging
  • A single configuration file, with support for reload
  • Optional SSL to/from NATS and NATS streaming
  • HTTP/HTTPS-based monitoring endpoints for health or statistics

Overview

The replicator runs as a single process with a configured set of connectors mapping a between a NATS subject or a NATS streaming channel. Each connector is a one-way replicator.

Connectors share a NATS connection and an optional connection to the NATS streaming server.

Request-reply is not supported.

The replicator is configured with a NATS server-like format, in a single file and uses the NATS logger.

An optional HTTP/HTTPS endpoint can be used for monitoring.

Todo

  • Integrate with coveralls

Documentation

External Resources

License

Unless otherwise noted, the nats-replicator source files are distributed under the Apache Version 2.0 license found in the LICENSE file.

About

Bridge to replicate NATS Subjects or Channels to NATS Subject or Channels

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.2%
  • Other 0.8%