Class SubscriberShutdownSettings

java.lang.Object
com.google.cloud.pubsub.v1.SubscriberShutdownSettings

public final class SubscriberShutdownSettings extends Object
Settings for configuring the shutdown behavior of a Subscriber.

This class allows customization of how the subscriber handles outstanding messages during shutdown, including whether to wait for processing to complete or to immediately nack messages, and an optional timeout for the shutdown process.