You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/08/17 07:14:59 UTC

[GitHub] [dubbo] gang0713 opened a new issue #8527: dubbo3.0.2设置分组无效,显示默认分组

gang0713 opened a new issue #8527:
URL: https://github.com/apache/dubbo/issues/8527


   **注解中指定分组和在yaml中配置分组都无效**
   
   版本信息:
   <properties>
           <java.version>1.8</java.version>
           <spring-boot.version>2.3.12.RELEASE</spring-boot.version>
           <dubbo.version>3.0.2</dubbo.version>
           <nacos-client.version>2.0.3</nacos-client.version>
           <spring-context-support.version>1.0.11</spring-context-support.version>
           <nacos-spring-boot.version>0.2.10</nacos-spring-boot.version>
       </properties>
   
   生产端:
   ![image](https://user-images.githubusercontent.com/1773414/129680341-a2d4da85-a55d-46b2-a5fa-8677c2274468.png)
   
   
   消费端
   ![image](https://user-images.githubusercontent.com/1773414/129680081-c4409417-0a0a-4a7c-9fb3-904f07b02f33.png)
   
   nacos控制台:
   ![image](https://user-images.githubusercontent.com/1773414/129680657-edacb8af-7825-45cf-996a-5cd60fcc4e56.png)
   
   
   
   yaml中指定分组也无效:
   dubbo:
     application:
       id: ${spring.application.name}
       name: ${spring.application.name}
       service-discovery:
         migration: FORCE_APPLICATION
       qos-enable: false
       qos-accept-foreign-ip: false
     registry:
       file: ${user.home}/dubbo-cache/${spring.application.name}/${platform.service.group}/dubbo.cache
       address: nacos://${nacos.host}:${nacos.port}
       **group: dev**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #8527: dubbo3.0.1升级dubbo3.0.2设置分组无效,导致无法访问服务

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900760392






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ closed issue #8527: dubbo3.0.1升级dubbo3.0.2无法访问服务

Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #8527:
URL: https://github.com/apache/dubbo/issues/8527


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] gang0713 commented on issue #8527: dubbo3.0.1升级dubbo3.0.2无法访问服务

Posted by GitBox <gi...@apache.org>.
gang0713 commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900905550


   @AlbumenJ 3.0.3版本大概什么时候发布


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #8527: dubbo3.0.1升级dubbo3.0.2设置分组无效,导致无法访问服务

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900760392


   看起来分组是正常的呀,你截图的是配置中心的服务元数据,那个 group 固定是 dubbo 的,具体分组你可以看 dataId 中是否有分组信息


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #8527: dubbo3.0.1升级dubbo3.0.2无法访问服务

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900772545


   > @AlbumenJ 3.0.3版本能解决掉吗?
   
   可以, https://github.com/apache/dubbo/pull/8533


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] gang0713 commented on issue #8527: dubbo3.0.1升级dubbo3.0.2设置分组无效,导致无法访问服务

Posted by GitBox <gi...@apache.org>.
gang0713 commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900757375






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] gang0713 commented on issue #8527: dubbo3.0.1升级dubbo3.0.2无法访问服务

Posted by GitBox <gi...@apache.org>.
gang0713 commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900771011


   @AlbumenJ   3.0.3版本能解决掉吗?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] gang0713 commented on issue #8527: dubbo3.0.1升级dubbo3.0.2设置分组无效,导致无法访问服务

Posted by GitBox <gi...@apache.org>.
gang0713 commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900760959


   @AlbumenJ  上面只有这几个。没有DEV的分组。试一下我发的DEMO。dubbo3.0.1可以正常访问,升级到3.0.2就无法访问


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #8527: dubbo3.0.1升级dubbo3.0.2无法访问服务

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900768545


   > @AlbumenJ 试一下我发的DEMO。dubbo3.0.1可以正常访问,升级到3.0.2就无法访问
   
   这个问题已经定位到了,具体是因为 3.0.2 中注册应用级实例的时候能正确注册 group,3.0.1 里面没有正确注册。3.0.1 和 3.0.2 版本的订阅都没有正确处理 group。这个问题我最近处理下


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] gang0713 commented on issue #8527: dubbo3.0.1升级dubbo3.0.2设置分组无效,导致无法访问服务

Posted by GitBox <gi...@apache.org>.
gang0713 commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900757375


   @AlbumenJ


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ commented on issue #8527: dubbo3.0.1升级dubbo3.0.2无法访问服务

Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-903448670


   > @AlbumenJ 3.0.3版本大概什么时候发布
   
   @gang0713 3.0.2.1 版本已经修复


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] gang0713 edited a comment on issue #8527: dubbo3.0.1升级dubbo3.0.2设置分组无效,导致无法访问服务

Posted by GitBox <gi...@apache.org>.
gang0713 edited a comment on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900760959


   @AlbumenJ  试一下我发的DEMO。dubbo3.0.1可以正常访问,升级到3.0.2就无法访问


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] gang0713 edited a comment on issue #8527: dubbo3.0.1升级dubbo3.0.2设置分组无效,导致无法访问服务

Posted by GitBox <gi...@apache.org>.
gang0713 edited a comment on issue #8527:
URL: https://github.com/apache/dubbo/issues/8527#issuecomment-900760959


   @AlbumenJ  试一下我发的DEMO。dubbo3.0.1可以正常访问,升级到3.0.2就无法访问


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org