Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xds: add support for setting bootstrap file with java system property
While most languages support setting environment variables during runtime, Java does not. In Java, the preferred approach is to use Java System Properties in order so specify configuration options. By checking for the existence of the io.grpc.xds.bootstrap property if GRPC_XDS_BOOTSTRAP is not found, it is possible to either supply the bootstrap location during runtime or as a Java argument. The environment variable still takes precedence in order to not break any existing documentation.
- Loading branch information
Showing
4 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters