You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
If we create a subscriber using with FixedChannelProvider and FixedExecutorProvider and do this
subscriber.startAsync().awaitRunning();
System.err.println("running");
subscriber.stopAsync().awaitTerminated();
System.err.println("stopped");
for (;;) {
Thread.sleep(1000);
}
we keep pulling messages forever. Stopping subscriber flushes waits for all messages to finish processing, but it does not stop the polling chain from continuing.
api: pubsubIssues related to the Pub/Sub API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Activity
pubsub: eventually stop polling after termination (#2113)
pongad commentedon Sep 8, 2017
The polling implementation is being removed in favor of streaming, and streaming shouldn't have this problem.
chore(main): release 2.37.0 (#2103)
chore(main): release 2.30.6-SNAPSHOT (googleapis#2103)
chore: Update generation configuration at Fri Jul 5 02:16:12 UTC 2024 (…
chore: Update generation configuration at Fri Jul 5 02:16:12 UTC 2024 (…
deps: update dependency com.google.cloud:sdk-platform-java-config to …