Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xds: add support for setting bootstrap file with java system property #7620

Merged
merged 1 commit into from Nov 16, 2020

Commits on Nov 16, 2020

  1. 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.
    erikjoh committed Nov 16, 2020
    Copy the full SHA
    6ff16a0 View commit details
    Browse the repository at this point in the history