We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
To Reproduce Steps to reproduce the behavior:
@Component public class Unregister implements ApplicationListener<ApplicationReadyEvent> { @Autowired private ServiceCombRegistration serviceCombRegistration; @Autowired private ServiceCombServiceRegistry serviceCombServiceRegistry; @Override public void onApplicationEvent(ApplicationReadyEvent event) { Runtime.getRuntime().addShutdownHook( new Thread(() -> { serviceCombServiceRegistry.deregister(serviceCombRegistration); }) ); } }
Expected behavior 服务主动调用unregister后应能正常清除实例
Platform And Runtime (please complete the following information):
Platform
Runtime
The text was updated successfully, but these errors were encountered:
出现这个错误,表示实例已经下线,可以确认下配置的实例心跳间隔
Sorry, something went wrong.
No branches or pull requests
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
服务主动调用unregister后应能正常清除实例
Platform And Runtime (please complete the following information):
Platform
Runtime
The text was updated successfully, but these errors were encountered: