Interface Publisher (1.11.2)

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
NameDescription
settingsPublisherSettings
Returns
TypeDescription
Publisher
Exceptions
TypeDescription
ApiException