object GooglePubSub
- Alphabetic
- By Inheritance
- GooglePubSub
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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.
Create a source that emits messages for a given subscription.
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
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )