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

[SCB-1195] Modify eureka.enabled to eureka.client.enabled #426

Merged
merged 1 commit into from Mar 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/user_guide.md
Expand Up @@ -224,14 +224,14 @@ Uses Spring Cloud Netflix 2.x by default, if you want to use Spring Cloud Netfli

1. run alpha

run with parameter `eureka.enabled=true`
run with parameter `eureka.client.enabled=true`

```bash
java -jar alpha-server-${saga_version}-exec.jar \
--spring.datasource.url=jdbc:postgresql://${host_address}:5432/saga?useSSL=false \
--spring.datasource.username=saga \
--spring.datasource.password=saga \
--eureka.enabled=true \
--eureka.client.enabled=true \
--eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka \
--spring.profiles.active=prd
```
Expand Down
4 changes: 2 additions & 2 deletions docs/user_guide_zh.md
Expand Up @@ -228,14 +228,14 @@ Saga可通过以下任一方式进行构建:

1. 运行alpha

运行时增加 `eureka.enabled=true` 参数
运行时增加 `eureka.client.enabled=true` 参数

```bash
java -jar alpha-server-${saga_version}-exec.jar \
--spring.datasource.url=jdbc:postgresql://${host_address}:5432/saga?useSSL=false \
--spring.datasource.username=saga \
--spring.datasource.password=saga \
--eureka.enabled=true \
--eureka.client.enabled=true \
--eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka \
--spring.profiles.active=prd
```
Expand Down