0.8.0 • Published 6 years ago
pubsub-pull-push v0.8.0
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
})
0.8.0
6 years ago