-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
显示重复消费者 #355
Comments
@TJLing 消费者的IP是否一样?截个图看下 |
IP 是相同的 |
发现只要我在dubbo-admin执行一次测试,在消费者就会显示多一个重复的“dubbo-admin” |
图片无法打开,请确认下 |
楼上你这个问题还在吗? |
我也有这个问题, 每次重启提供者或消费者就显示多一个重复的服务 |
需要设置dynamic属性 |
可能跟 dubbo 的这个 issue apache/dubbo#4213 有关 |
感觉这个问题一致没有修复 |
不是说在2.7.2修复吗?apache/dubbo#4213 |
@rushicheng , 没用的
dubbo服务 @DubboService(version = "1.0.0", validation = "true", dynamic = true)
public class AccountRemoteServiceImpl implements AccountRemoteService {
@Autowired
AccountBizService accountBizService;
@Override
public Boolean debit(String userId, BigDecimal money) {
return accountBizService.debit(userId, money);
}
} ip地址一样; 从4213来看,同样存在这样的问题?说是dynamic的问题,默认false,则持久路径,true为临时路径,2.7.8为true还是没用。 调试结果: 临时节点,在连接断开后,zk会自动删除, 这不应该呀! 我们dubbo版本为2.6.9,dubbo-boot:0.2.1.RELEASE,spring-boot:2.1..RELEASE 存在同样的问题,重复注册? <!--0.2.1.RELEASE start-->
<dependency>
<groupId>com.alibaba.boot</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>${alibaba.boot.dubbo.springboot.starter}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
<version>${dubbo.version}</version>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-framework</artifactId>
<version>2.8.0</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.curator</groupId>
<artifactId>curator-recipes</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.15.Final</version>
</dependency>
<!--0.2.1.RELEASE end--> dubbo 服务
dynamic 为false还是有; 从这两个例子来看,跟dynamic 无关。 这是一个问题,另外我想问一下,服务节点路径的timestamp 是做什么用了
去掉timestamp,是不是,就保持一个节点了; |
持续跟进这个问题:apache/dubbo#7124 |
问题已解决,应该是没有优雅关机的问题 |
Sorry, because this issue was raised very early, we have closed it temporarily. You can verify whether this problem still exists in the latest code of the develop branch. If this problem still exists, please reopen it at any time. |
在服务查询功能,选择其中一个服务,点击详情按钮,在服务信息区域,消费者tab,发现有重复应用“dubbo-admin”
The text was updated successfully, but these errors were encountered: