Interface Publisher
-
- All Superinterfaces:
com.google.api.core.ApiService
,com.google.cloud.pubsub.v1.PublisherInterface
- All Known Implementing Classes:
WrappingPublisher
public interface Publisher extends com.google.cloud.pubsub.v1.PublisherInterface, com.google.api.core.ApiService
Pub/Sub Lite publishers are streaming based and can experience permanent errors.
-
-
Method Summary
Static Methods Modifier and Type Method Description static Publisher
create(PublisherSettings settings)
Create a new Pub/Sub Lite publisher using the provided settings.
-
-
-
Method Detail
-
create
static Publisher create(PublisherSettings settings) throws com.google.api.gax.rpc.ApiException
Create a new Pub/Sub Lite publisher using the provided settings.- Throws:
com.google.api.gax.rpc.ApiException
-
-