PubsubReader

trait PubsubReader[F[_]]
Companion:
object
Source:
PubsubReader.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def ack(ackId: List[AckId]): F[Unit]
def modifyDeadline(ackId: List[AckId], by: FiniteDuration): F[Unit]

The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the subscriptions.modifyAckDeadline call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes). From: https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline

The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the subscriptions.modifyAckDeadline call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify is 600 seconds (10 minutes). From: https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/modifyAckDeadline

Source:
PubsubReader.scala
def nack(ackId: List[AckId]): F[Unit]
def read: F[PullResponse]