arunpandianp commented on code in PR #38458:
URL: https://github.com/apache/beam/pull/38458#discussion_r3230756773
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java:
##########
@@ -651,6 +657,15 @@ public static StreamingDataflowWorker
fromOptions(DataflowWorkerHarnessOptions o
windmillStateCache::forComputation,
ID_GENERATOR));
+ Fetcher configFetcher =
configFetcherComputationStateCacheAndWindmillClient.configFetcher();
+ configFetcher
+ .getGlobalConfigHandle()
+ .registerConfigObserver(
+ config -> {
+ windmillStateCache.setMaxCachedValueBytesOverride(
+ config.userWorkerJobSettings().getMaxCachedValueBytes());
+ });
Review Comment:
config.userWorkerJobSettings() is non null.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]