All Projects → moonwalker → graphql-nats-subscriptions

moonwalker / graphql-nats-subscriptions

Licence: MIT license
A graphql subscriptions implementation using nats and apollo's graphql-subscriptions

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to graphql-nats-subscriptions

Gokit Examples
Examples for building microservices with Go kit (gokit.io)
Stars: ✭ 125 (+362.96%)
Mutual labels:  nats
Openmessaging Benchmark
OpenMessaging Benchmark Framework
Stars: ✭ 184 (+581.48%)
Mutual labels:  nats
nats-surveyor
NATS Monitoring, Simplified.
Stars: ✭ 150 (+455.56%)
Mutual labels:  nats
Stan.net
The official NATS .NET C# Streaming Client
Stars: ✭ 131 (+385.19%)
Mutual labels:  nats
Liftbridge
Lightweight, fault-tolerant message streams.
Stars: ✭ 2,175 (+7955.56%)
Mutual labels:  nats
Nats Top
A top-like tool for monitoring NATS servers.
Stars: ✭ 202 (+648.15%)
Mutual labels:  nats
Golang Examples
Stars: ✭ 114 (+322.22%)
Mutual labels:  nats
go-graphql-subscription-example
☝️ go-graphql subscription over Kafka/Redis/NSQ example
Stars: ✭ 34 (+25.93%)
Mutual labels:  graphql-subscriptions
Prometheus Nats Exporter
A Prometheus exporter for NATS metrics
Stars: ✭ 179 (+562.96%)
Mutual labels:  nats
golang-example-app
Example application
Stars: ✭ 138 (+411.11%)
Mutual labels:  nats
Go Micro Boilerplate
The boilerplate of the GoLang application with a clear microservices architecture.
Stars: ✭ 147 (+444.44%)
Mutual labels:  nats
Kubernetes Nats Cluster
NATS cluster on top of Kubernetes made easy.
Stars: ✭ 168 (+522.22%)
Mutual labels:  nats
Phpnats
A PHP client for the NATSio cloud messaging system.
Stars: ✭ 209 (+674.07%)
Mutual labels:  nats
Websocket Nats
An in-browser websocket client for NATS, a lightweight, high-performance cloud native messaging system
Stars: ✭ 125 (+362.96%)
Mutual labels:  nats
nextjs-graphql-auth
Authentication system using NextJS, GraphQL, Apollo Client, Apollo Server, MongoDB, Nginx, Docker, Docker-Compose and Kubernetes
Stars: ✭ 27 (+0%)
Mutual labels:  graphql-subscriptions
Aither
An example microservice system in Node.js using Hemera and best of today.
Stars: ✭ 116 (+329.63%)
Mutual labels:  nats
Voik
♒︎ [WIP] An experimental ~distributed~ commit-log
Stars: ✭ 200 (+640.74%)
Mutual labels:  nats
swir
SWIR - Sidecar Written In Rust
Stars: ✭ 49 (+81.48%)
Mutual labels:  nats
rants
An async NATS client library for the Rust programming language.
Stars: ✭ 80 (+196.3%)
Mutual labels:  nats
Watermill
Building event-driven applications the easy way in Go.
Stars: ✭ 3,504 (+12877.78%)
Mutual labels:  nats

graphql-nats-subscriptions

This package implements the PubSubEngine Interface from the graphql-subscriptions package and also the new AsyncIterator interface. It allows you to connect your subscriptions manger to a nats based Pub Sub mechanism to support multiple subscription manager instances.

Usage

import { NatsPubSub } from '@moonwalker/graphql-nats-subscriptions'

const pubsub = new NatsPubSub() // default connecting to nats://localhost:4222
// or
const pubsub = new NatsPubSub({ servers: ['nats://nats.io:4222', 'nats://nats.io:5222', 'nats://nats.io:6222'] })
// or
import * as nats from "nats"

const client = nats.connect();
const pubsub = new NatsPubSub({ nc: client })

// for more options see: https://github.com/nats-io/node-nats
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].