{"repo":"Surnet/graphql-amqp-subscriptions","free":true,"listed":false,"github":"https://github.com/Surnet/graphql-amqp-subscriptions","clone":"git clone https://github.com/Surnet/graphql-amqp-subscriptions.git","description":"A graphql subscriptions implementation using amqp and apollo's graphql-subscriptions","language":"TypeScript","stars":37,"topics":["graphql","amqp","rabbitmq","subscriptions","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"graphql-amqp-subscriptions This package implements the PubSubEngine Interface from the graphql-subscriptions package. It allows you to connect your subscriptions manager to a AMQP PubSub mechanism. This package is influenced by graphql-redis-subscriptions and graphql-rabbitmq-subscriptions. graphql-subscriptions@2 If you are using graphql-subscriptions@2.x please use graphql-amqp-subscriptions@2 . Basic usage Benefits - Reusing existing amqplib Connection - Reusing channels (one for subscriptions, one for publishing) - Performance/Ressource-usage benefits on AMQP (RabbitMQ) because of the aforementioned reasons more info - Using Topic Exchange (e.g. you publish to agreements.eu.berlin.headstore and subscribe to agreements.eu.# ) more info Debug This package uses Debug. To show the logs run your app with the environment variable DEBUG=\"AMQPPubSub\" Tests You'll need to have a local AMPQ instance such as RabbitMQ running to run tests. If you have Docker, you can run: Then","default_branch":null,"files":null,"tree":[],"storefront":"/r/Surnet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Surnet/graphql-amqp-subscriptions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}