Interface Publisher (1.13.5)

public interface Publisher extends PublisherInterface, ApiService

Pub/Sub Lite publishers are streaming based and can experience permanent errors.

Implements

com.google.cloud.pubsub.v1.PublisherInterface, ApiService

Static Methods

create(PublisherSettings settings)

public static Publisher create(PublisherSettings settings)

Create a new Pub/Sub Lite publisher using the provided settings.

Parameter
Name Description
settings PublisherSettings
Returns
Type Description
Publisher
Exceptions
Type Description
ApiException