Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siddhi-io/siddhi-io-nats

Extension that can be used to communicate (publish/subscribe) with an instance of the nats-streaming server
https://github.com/siddhi-io/siddhi-io-nats

extension io message-bus message-queue messaging nats nats-server nats-streaming siddhi

Last synced: 3 months ago
JSON representation

Extension that can be used to communicate (publish/subscribe) with an instance of the nats-streaming server

Awesome Lists containing this project

README

        

Siddhi IO NATS
======================================

[![Jenkins Build Status](https://wso2.org/jenkins/job/siddhi/job/siddhi-io-nats/badge/icon)](https://wso2.org/jenkins/job/siddhi/job/siddhi-io-nats/)
[![GitHub Release](https://img.shields.io/github/release/siddhi-io/siddhi-io-nats.svg)](https://github.com/siddhi-io/siddhi-io-nats/releases)
[![GitHub Release Date](https://img.shields.io/github/release-date/siddhi-io/siddhi-io-nats.svg)](https://github.com/siddhi-io/siddhi-io-nats/releases)
[![GitHub Open Issues](https://img.shields.io/github/issues-raw/siddhi-io/siddhi-io-nats.svg)](https://github.com/siddhi-io/siddhi-io-nats/issues)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/siddhi-io/siddhi-io-nats.svg)](https://github.com/siddhi-io/siddhi-io-nats/commits/master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

The **siddhi-io-nats extension** is an extension to Siddhi that receives and publishes events from and to NATS.

For information on Siddhi and it's features refer Siddhi Documentation.

## Download

* Versions 2.x and above with group id `io.siddhi.extension.*` from here.
* Versions 1.x and lower with group id `org.wso2.extension.siddhi.*` from here.

## Latest API Docs

Latest API Docs is 2.0.15.

## Features

* nats *(Sink)*



NATS Sink allows users to subscribe to a Nats or Nats streaming broker and publish messages.



* nats *(Source)*


NATS Source allows users to subscribe to a NATS broker and receive messages. It has the ability to receive all the message types supported by NATS.


## Dependencies

Add following jars when using nats,

* [jnats-2.6.5.jar](https://repo1.maven.org/maven2/io/nats/jnats/2.6.5/jnats-2.6.5.jar) (Add to `{SIDDHI_HOME}/jars`)
* [protobuf-java-3.9.1.jar](https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.9.1/protobuf-java-3.9.1.jar) (Add to `{SIDDHI_HOME}/bundles`)

Add following jars when using nats streaming
* [jnats-2.6.5.jar](https://repo1.maven.org/maven2/io/nats/jnats/2.6.5/jnats-2.6.5.jar) (Add to `{SIDDHI_HOME}/jars`)
* [java-nats-streaming-2.2.2.jar](https://repo1.maven.org/maven2/io/nats/java-nats-streaming/2.2.2/java-nats-streaming-2.2.2.jar) (Add to `{SIDDHI_HOME}/jars`)
* [protobuf-java-3.9.1.jar](https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.9.1/protobuf-java-3.9.1.jar) (Add to `{SIDDHI_HOME}/bundles`)

## Installation

For installing this extension on various siddhi execution environments refer Siddhi documentation section on adding extensions.

## Support and Contribution

* We encourage users to ask questions and get support via StackOverflow, make sure to add the `siddhi` tag to the issue for better response.

* If you find any issues related to the extension please report them on the issue tracker.

* For production support and other contribution related information refer Siddhi Community documentation.