Giter Club home page Giter Club logo

nats-kafka's Introduction

NATS

NATS-Kafka Bridge

License ReportCard Build Coverage

This project implements a multi-connector bridge between NATS, NATS Streaming, JetStream and Kafka topics.

Features

  • Support for bridging from/to Kafka topics
  • Arbitrary subjects in NATS and JetStream, 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 Kafka, NATS, NATS Streaming, and JetStream
  • HTTP/HTTPS-based monitoring endpoints for health or statistics
  • Support for Confluent schema registry and compatible implementations with Avro, JSON Schema and Protobuf.

Overview

The bridge runs as a single process with a configured set of connectors mapping a Kafka topic to a NATS/JetStream subject or a NATS Streaming channel. Connectors can also map the opposite direction from NATS to Kafka. Each connector is a one-way bridge.

Connectors share a NATS connection and an optional connection to the NATS Streaming server. Connectors each create a connection to Kafka, subject to TCP connection sharing in the underlying library

Message values in Kafka are mapped to message bodies in NATS.

Messages coming from NATS to Kafka can have their key set in a variety of ways, see Configuration. Messages coming from Kafka will have their key ignored.

Request-reply is not supported.

The bridge 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.

Documentation

External Resources

License

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

nats-kafka's People

Contributors

nsurfer avatar variadico avatar derekcollison avatar kozlovic avatar drnushooz avatar colinsullivan1 avatar gcolliso avatar wallyqs avatar aonurdemir avatar lmtyler avatar navinpai avatar noamsan avatar sasbury avatar rpuppo avatar

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.