Interface: SubscriberOptions
#
HierarchyGoogleCloudSubscriberOptions
↳
SubscriberOptions
#
Properties#
ackDeadline• Optional
ackDeadline: number
#
Inherited fromGoogleCloudSubscriberOptions.ackDeadline
#
Defined innode_modules/@google-cloud/pubsub/build/src/subscriber.d.ts:105
#
ackDeadlineSeconds• Optional
ackDeadlineSeconds: number
#
Defined insrc/subscriber/subscriberV2.ts:182
#
batching• Optional
batching: BatchOptions
#
Inherited fromGoogleCloudSubscriberOptions.batching
#
Defined innode_modules/@google-cloud/pubsub/build/src/subscriber.d.ts:106
#
deadLetterPolicy• Optional
deadLetterPolicy: Object
#
Type declarationName | Type |
---|---|
createDefaultSubscription? | boolean |
deadLetterTopic | string |
maxDeliveryAttempts | number |
#
Defined insrc/subscriber/subscriberV2.ts:184
#
enableMessageOrdering• Optional
enableMessageOrdering: boolean
If true, messages published with the same ordering_key
in PubsubMessage
will be delivered to the subscribers in the order in which they
are received by the Pub/Sub system. Otherwise, they may be delivered in
any order.
#
Defined insrc/subscriber/subscriberV2.ts:215
#
enableOpenTelemetryTracing• Optional
enableOpenTelemetryTracing: boolean
#
Inherited fromGoogleCloudSubscriberOptions.enableOpenTelemetryTracing
#
Defined innode_modules/@google-cloud/pubsub/build/src/subscriber.d.ts:110
#
filter• Optional
filter: string
An expression written in the Pub/Sub filter
language. If non-empty,
then only PubsubMessage
s whose attributes
field matches the filter are
delivered on this subscription. If empty, then no messages are filtered
out.
#
Defined insrc/subscriber/subscriberV2.ts:207
#
flowControl• Optional
flowControl: FlowControlOptions
#
Inherited fromGoogleCloudSubscriberOptions.flowControl
#
Defined innode_modules/@google-cloud/pubsub/build/src/subscriber.d.ts:107
#
project• Optional
project: GooglePubSubProject
#
Defined insrc/subscriber/subscriberV2.ts:183
#
retryPolicy• Optional
retryPolicy: Object
#
Type declarationName | Type |
---|---|
maximumBackoff | Object |
maximumBackoff.nanos? | number |
maximumBackoff.seconds | number |
minimumBackoff | Object |
minimumBackoff.nanos? | number |
minimumBackoff.seconds | number |
#
Defined insrc/subscriber/subscriberV2.ts:189
#
streamingOptions• Optional
streamingOptions: MessageStreamOptions
#
Inherited fromGoogleCloudSubscriberOptions.streamingOptions
#
Defined innode_modules/@google-cloud/pubsub/build/src/subscriber.d.ts:109
#
useLegacyFlowControl• Optional
useLegacyFlowControl: boolean
#
Inherited fromGoogleCloudSubscriberOptions.useLegacyFlowControl
#
Defined innode_modules/@google-cloud/pubsub/build/src/subscriber.d.ts:108