apache / apache/incubator-seata

Eureka作为注册中心 Seata Server 如何配置注册信息刷新时间?

Open
#3,542 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

## Why you need it?
使用Eureka作为注册中心的时候,由于Seata Server中不能修改 「Eureka注册信息刷新时间」,如:registry-fetch-interval-seconds,如果遇见SeataServer宕机和重启,由于默认Eureka的注册信息刷新时间较长,会有很长的时间延迟导致服务不可用,不知道这个要怎么解决比较好

## How it could be?
是否可以在Seata Server中放开Eureka的所有配置?
或者有没有其它的解决方案?

不知道是不是自己的思路不对,还望指教

## Other related information
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting Seata Server's Eureka registry configuration and how registry-fetch-interval-seconds is handled. Compare the currently exposed settings with Eureka's refresh behavior, then verify that a supported configuration or documented alternative reduces the delay after a Seata Server restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.