Miss any of our Open RFC calls?Watch the recordings here! »

pubsub-pull-push

0.8.0 • Public • Published

Google PubSub pull-push

A simple tool (CLI too!) to pull a batch of messages from a Google PubSub topic, then proxy to an external endpoint. This is useful when testing PubSub topics in development environments, or could even be used to proxy messages behind a firewall.

Installation

npm i -g pubsub-pull-proxy

Usage

CLI

pubsub-pull-proxy topic-name https://your-domain.example/some/endpoint --maxMessages 10

Node

const PullPush = require('pubsub-pull-push')()
 
PullPush.pull('topic-name', 'https://your-domain.example/some/endpoint', {
    maxMessages: 10
})

Keywords

none

Install

npm i pubsub-pull-push

DownloadsWeekly Downloads

1

Version

0.8.0

License

MIT

Unpacked Size

63.3 kB

Total Files

7

Last publish

Collaborators

  • avatar