object GooglePubSub
- Alphabetic
- By Inheritance
- GooglePubSub
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def acknowledge(parallelism: Int): Sink[com.google.pubsub.v1.AcknowledgeRequest, CompletionStage[Done]]
Create a sink that accepts consumed message acknowledgements.
Create a sink that accepts consumed message acknowledgements.
The materialized value completes on stream completion.
- parallelism
controls how many acknowledgements can be in-flight at any given time
- def acknowledgeFlow(): Flow[com.google.pubsub.v1.AcknowledgeRequest, com.google.pubsub.v1.AcknowledgeRequest, NotUsed]
Create a flow that accepts consumed message acknowledgements.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def publish(parallelism: Int): Flow[com.google.pubsub.v1.PublishRequest, com.google.pubsub.v1.PublishResponse, NotUsed]
Create a flow to publish messages to Google Cloud Pub/Sub.
Create a flow to publish messages to Google Cloud Pub/Sub. The flow emits responses that contain published message ids.
- parallelism
controls how many messages can be in-flight at any given time
- def subscribe(request: StreamingPullRequest, pollInterval: Duration): Source[com.google.pubsub.v1.ReceivedMessage, CompletableFuture[Cancellable]]
Create a source that emits messages for a given subscription using a StreamingPullRequest.
Create a source that emits messages for a given subscription using a StreamingPullRequest.
The materialized value can be used to cancel the source.
- request
the subscription FQRS and ack deadline fields are mandatory for the request
- pollInterval
time between StreamingPullRequest messages are being sent
- def subscribePolling(request: com.google.pubsub.v1.PullRequest, pollInterval: Duration): Source[com.google.pubsub.v1.ReceivedMessage, CompletableFuture[Cancellable]]
Create a source that emits messages for a given subscription using a synchronous PullRequest.
Create a source that emits messages for a given subscription using a synchronous PullRequest.
The materialized value can be used to cancel the source.
- request
the subscription FQRS field is mandatory for the request
- pollInterval
time between PullRequest messages are being sent
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()