8000 docs: modify how-eureka-enable-service-discovery-and-service-registration.md by cn-zane · Pull Request #319 · doocs/advanced-java · GitHub
[go: up one dir, main page]

Skip to content

docs: modify how-eureka-enable-service-discovery-and-service-registration.md #319

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

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

cn-zane
Copy link
Member
@cn-zane cn-zane commented Apr 10, 2025

fix typo in docs.

Copy link

Walkthrough

This pull request addresses a typo in the documentation related to Eureka service discovery and registration. The correction ensures clarity in the description of the service renewal process.

Changes

File Summary
docs/micro-services/how-eureka-enable-service-discovery-and-service-registration.md Fixed a typo in the explanation of the service renewal process, changing '服务时效' to '服务失效'.

@@ -48,7 +48,7 @@ At Netflix, Eureka is used for the following purposes apart from playing a criti

### 服务续约(Renew)

服务续约会由服务提供者(比如 `Demo` 中的 `service-provider` )定期调用,类似于心跳,用来告知注册中心 `Eureka Server` 自己的状态,避免被 `Eureka Server` 认为服务时效将其剔除下线。服务续约就是发送一个 `PUT` 请求带上当前实例信息到类 `InstanceResource` 的 `renewLease` 方法进行服务续约操作。
服务续约会由服务提供者(比如 `Demo` 中的 `service-provider` )定期调用,类似于心跳,用来告知注册中心 `Eureka Server` 自己的状态,避免被 `Eureka Server` 认为服务失效将其剔除下线。服务续约就是发送一个 `PUT` 请求带上当前实例信息到类 `InstanceResource` 的 `renewLease` 方法进行服务续约操作。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed a typo in the documentation. Changed '服务时效' to '服务失效' to accurately describe the service expiration process.

@xiaopan1916
Copy link
xiaopan1916 < 8000 /strong> commented Apr 10, 2025 via email

@lujocom
Copy link
lujocom commented Apr 10, 2025 via email

@yongroot
Copy link
yongroot commented Apr 10, 2025 via email

@tl2327
Copy link
tl2327 commented Apr 10, 2025 via email

@zhFuture
Copy link
zhFuture commented Apr 10, 2025 via email

@nielongguang
Copy link
nielongguang commented Apr 10, 2025 via email

@onions1111
Copy link
onions1111 commented Apr 10, 2025 via email

@tigerlee0209
Copy link
tigerlee0209 commented Apr 10, 2025 via email

@yanglbme yanglbme merged commit c6bd514 into doocs:main Apr 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants
0