kileys commented on a change in pull request #17110:
URL: https://github.com/apache/beam/pull/17110#discussion_r832634891
##########
File path: sdks/java/container/boot.go
##########
@@ -193,7 +195,35 @@ func main() {
} else {
args = append(args, jammAgentArgs)
}
+ // Apply meta options
+ const metaDir = "/opt/apache/beam/options"
+ metaOptions, err := LoadMetaOptions(metaDir)
+ javaOptions := BuildOptions(metaOptions)
+ // (1) Add custom jvm arguments: "-server -Xmx1324 -XXfoo .."
+ args = append(args, javaOptions.JavaArguments...)
Review comment:
There may be duplicate args, but there's a priority associated with the
MetaOptions, so higher priority will override the lower
--
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]