cr_pubsub: Send a message to pubsub

View source: R/plumber.R

cr_pubsubR Documentation

Send a message to pubsub

Description

Useful for testing Cloud Run pubsub deployments

Usage

cr_pubsub(endpoint, payload = jsonlite::toJSON("hello"))

Arguments

endpoint

The url endpoint of the PubSub service

payload

Will be base64 encoded and placed in message$data


MarkEdmondson1234/googleCloudRunner documentation built on Feb. 5, 2023, 5:45 p.m.