Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
c14f508b
Commit
c14f508b
authored
Jun 02, 2016
by
Jason Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo
parent
f0224e9c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
apollo-client/README.md
+2
-2
No files found.
apollo-client/README.md
View file @
c14f508b
...
@@ -46,12 +46,12 @@ Apollo supports config separated by clusters, which means for one appId and one
...
@@ -46,12 +46,12 @@ Apollo supports config separated by clusters, which means for one appId and one
If you need this functionality, you could specify the cluster as follows:
If you need this functionality, you could specify the cluster as follows:
1.
As Java System Property
1.
As Java System Property
*
You could specify
environment
as java system property
`apollo.cluster`
*
You could specify
cluster
as java system property
`apollo.cluster`
*
For example, when starting the java application, it can be configured via
`-Dapollo.cluster=xxx`
*
For example, when starting the java application, it can be configured via
`-Dapollo.cluster=xxx`
*
Please note the key should be lower case
*
Please note the key should be lower case
2.
As Property file
2.
As Property file
*
You could create a file
`/opt/settings/server.properties`
on the target machine
*
You could create a file
`/opt/settings/server.properties`
on the target machine
*
And specify the
environment
in the file as
`idc=xxx`
*
And specify the
idc cluster
in the file as
`idc=xxx`
*
Please note the key should be lower case
*
Please note the key should be lower case
##### Cluster Precedence
##### Cluster Precedence
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment