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

2.0.0.0-2022.0.5 (stable version) Latest版本中的adminhttphandler的作用 #1492

Open
wjxhhh96 opened this issue Jan 22, 2025 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@wjxhhh96
Copy link

版本:2.0.0.0-2022.0.5 (stable version) Latest
提交:feat:add admin http handler. #1448
描述:在更新到这个版本后,本地启动发现,服务a能启动成功,再启动服务b时则报端口被占用。排查发现,因为该版本增加了admin http handler功能,会在服务启动时创建一个adminHttpServer默认使用28081端口。本地如果需要启动多个服务,则需要在配置文件修改端口( 例如:spring.cloud.polaris.admin.port)。
问题:这个adminHttpServer 的作用是什么,有办法屏蔽吗

@wjxhhh96 wjxhhh96 added the question Further information is requested label Jan 22, 2025
@SkyeBeFreeman
Copy link
Collaborator

这个端口是SDK侧的统一开放端口,其中作用包含北极星集群的Prometheus拉取监控数据、优雅上下线等。

后续会考虑提供配置关闭这个端口。

@SkyeBeFreeman SkyeBeFreeman added this to the 2.0.1.0 milestone Jan 24, 2025
@SkyeBeFreeman SkyeBeFreeman added enhancement New feature or request and removed question Further information is requested labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants