public sealed class SubscriberClient.ShutdownOptionsReference documentation and code samples for the Cloud Pub/Sub v1 API class SubscriberClient.ShutdownOptions.
Settings available for subscriber shutdown.
Namespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Properties
Mode
public SubscriberClient.ShutdownMode Mode { get; set; }The SubscriberClient.ShutdownMode to use for shutdown. Defaults to WaitForProcessing.
| Property Value | |
|---|---|
| Type | Description |
SubscriberClientShutdownMode |
|
Timeout
public TimeSpan? Timeout { get; set; }The timeout for the shutdown process. If null, a default timeout based on the maximum extension duration is used. Zero or negative values will trigger an immediate hard-stop.
| Property Value | |
|---|---|
| Type | Description |
TimeSpan |
|