Enum SubscriberShutdownSettings.ShutdownMode (1.153.0)
Stay organized with collections
Save and categorize content based on your preferences.
1.153.0 (latest)
1.152.0
1.151.0
1.150.1
1.149.0
1.148.0
1.147.0
1.145.0
1.143.1
1.142.0
1.141.5
1.140.2
1.139.4
1.138.0
1.137.1
1.136.1
1.135.0
1.134.2
1.133.1
1.132.2
1.131.0
1.130.0
1.129.6
1.127.3
1.126.6
1.125.13
1.123.18
1.122.2
1.121.1
1.120.24
1.119.1
1.118.0
1.117.0
1.116.4
1.115.5
public enum SubscriberShutdownSettings . ShutdownMode extends Enum<SubscriberShutdownSettings . ShutdownMode >
Defines the behavior for handling outstanding messages during subscriber shutdown.
Static Fields
Name
Description
NACK_IMMEDIATELY
The subscriber will immediately nack all outstanding messages and attempt to shut down as
quickly as possible. Messages delivered to the user callback but not yet acked/nacked will
also be nacked.
WAIT_FOR_PROCESSING
The subscriber will wait for all outstanding messages to be processed (acked or nacked by the
user's message receiver) before completing the shutdown.
Static Methods
Name
Description
valueOf(String name)
values()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[null,null,["Last updated 2026-08-05 UTC."],[],[]]