pubsub_dataset: Creates a 'PubSubDataset'.

Description Usage Arguments

View source: R/pubsub_dataset.R

Description

This creates a dataset for consuming PubSub messages.

Usage

1
pubsub_dataset(subscriptions, server = NULL, eof = FALSE, timeout = 1000)

Arguments

subscriptions

A tf.string tensor containing one or more subscriptions.

server

The pubsub server.

eof

If True, the pubsub reader will stop on EOF.

timeout

The timeout value for the PubSub to wait (in millisecond).


tfio documentation built on Dec. 25, 2019, 5:06 p.m.