m-trieu commented on code in PR #34367: URL: https://github.com/apache/beam/pull/34367#discussion_r2073679778
########## runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/AbstractWindmillStream.java: ########## @@ -103,13 +113,30 @@ protected AbstractWindmillStream( StreamObserverFactory streamObserverFactory, Set<AbstractWindmillStream<?, ?>> streamRegistry, int logEveryNStreamFailures, - String backendWorkerToken) { + String backendWorkerToken, + WindmillStreamTTL streamTTL) { this.backendWorkerToken = backendWorkerToken; this.executor = Executors.newSingleThreadExecutor( new ThreadFactoryBuilder() .setDaemon(true) - .setNameFormat(createThreadName(debugStreamType, backendWorkerToken)) + .setNameFormat( + createThreadName(debugStreamType, backendWorkerToken, "WindmillStream")) + .build()); + this.restartExecutor = Review Comment: we only schedule the future if the ttl is valid in `scheduleRestart()` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org