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


googleCloudRunner documentation built on March 18, 2022, 8 p.m.