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 2022/09/08 09:44:34 UTC

[GitHub] [dubbo-go-pixiu] AlbumenJ opened a new issue, #487: Pixiu Control Plane Support Service Search

AlbumenJ opened a new issue, #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487

   <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
   
   -->
   
   
   **What happened**:
   
   **What you expected to happen**:
   
   **How to reproduce it (as minimally and precisely as possible)**:
   
   **Anything else we need to know?**:
   


-- 
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.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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1345552110

   本周无进展。我在该问题上投入时间少,需要有其他同学的支持。


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1312725109

   上周和本周无进展。


-- 
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-go-pixiu] AlbumenJ commented on issue #487: Pixiu Control Plane Support Service Search

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

   服务查询这块的功能主要是需要提供一个查询当前集群所有服务信息的接口,类似 Dubbo Admin 的服务查询功能。具体到我们控制面需要做的就是提供一个 proto 包括了所有必要的数据,数据类似 xds 的数据,但是是以一个管控的视角去设计的。可以要跑一个 dubbo admin 体验下那个功能。


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by "zgq25302111 (via GitHub)" <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1425054125

   可以通过钉钉联系下远云,刘军。


-- 
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-go-pixiu] AlexStocks commented on issue #487: Pixiu Control Plane Support Service Search

Posted by "AlexStocks (via GitHub)" <gi...@apache.org>.
AlexStocks commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1427033125

   > 仍需要明确的几个点:
   > 
   > 1. 此「服务查询」功能应是消费端去主动获取的,消费端只需给出必要的参数。服务查询是从三种模式(服务名、IP地址、应用)来做的,参考 dubbo-admin 相关方法:
   >    https://github.com/apache/dubbo-admin/blob/4836ee0c0fc3fdb74449fdaf749d5b04a699dba8/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/controller/ServiceController.java#L67-L70
   > 2. 上述三种模式(服务名、IP地址、应用)的信息是通过服务启动时,上报至控制面的,通过控制面注册到 k8s CRD 中。
   >    那是否还需要在控制面增加监听器,监听服务的上下线呢?
   > 3. 这三种查询模式(服务名、IP地址、应用)的设计有相关的参考资料吗?
   
   @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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1245385217

   I’m working on it


-- 
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


Re: [I] Pixiu Control Plane Support Service Search [dubbo-go-pixiu]

Posted by "AlexStocks (via GitHub)" <gi...@apache.org>.
AlexStocks closed issue #487: Pixiu Control Plane Support Service Search
URL: https://github.com/apache/dubbo-go-pixiu/issues/487


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1257155526

   dubbo-admin is running


-- 
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-go-pixiu] ShawnHXH commented on issue #487: Pixiu Control Plane Support Service Search

Posted by "ShawnHXH (via GitHub)" <gi...@apache.org>.
ShawnHXH commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1420917790

   那我先按照自己的理解进行设计了,若有不妥请及时指正。
   
   ---
   
   关于 service_search 的 proto 设计如下:
   ```proto
   syntax = "proto3";
   
   package istio.extensions.v1alpha1;
   
   option go_package="istio.io/api/extensions/v1alpha1";
   
   message ServiceSearch {
   
       string service_name = 1;
   
       string application_name = 2;
   
       string group_name = 3;
   
       string version = 4;
   }
   ```
   
   借鉴 dubbo-admin 服务查询的功能,可将「服务查询」这个服务的 proto 设计为如下所示:
   
   ```proto
   syntax = "proto3";
   
   package dubbo.networking.v1alpha1;
   
   option go_package = "istio.io/api/dubbo/v1alpha1";
   
   service ServiceSearchService {
       rpc Get(GetServiceSearchRequest) returns (GetServiceSearchResponse);
   }
   
   message GetServiceSearchRequest {
   
       string pattern = 1;  // 存在按照服务名、IP地址、应用三种模式的查询
   
       string filter = 2;  // 查询匹配字段,值为 `*` 表示返回所有服务
   }
   
   message GetServiceSearchResponse {
   }
   ```


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1296256074

   进展缓慢。


-- 
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-go-pixiu] ShawnHXH commented on issue #487: Pixiu Control Plane Support Service Search

Posted by "ShawnHXH (via GitHub)" <gi...@apache.org>.
ShawnHXH commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1423607265

   仍需要明确的几个点:
   1. 此「服务查询」功能应是消费端去主动获取的,消费端只需给出必要的参数。服务查询是从三种模式(服务名、IP地址、应用)来做的,参考 dubbo-admin 相关方法:
   https://github.com/apache/dubbo-admin/blob/4836ee0c0fc3fdb74449fdaf749d5b04a699dba8/dubbo-admin-server/src/main/java/org/apache/dubbo/admin/controller/ServiceController.java#L67-L70
   
   2. 上述三种模式(服务名、IP地址、应用)的信息是通过服务启动时,上报至控制面的,通过控制面注册到 k8s CRD 中。
   那是否还需要在控制面增加监听器,监听服务的上下线呢?
   
   3. 这三种查询模式(服务名、IP地址、应用)的设计有相关的参考资料吗?


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1240566805

   我先体验下  dubbo admin


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1250276045

   在研究案例:


-- 
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-go-pixiu] ShawnHXH commented on issue #487: Pixiu Control Plane Support Service Search

Posted by "ShawnHXH (via GitHub)" <gi...@apache.org>.
ShawnHXH commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1418465419

   I'm working on it.
   
   ---
   
   体验了一下 dubbo-admin 的服务查询功能,对应到此处就相当于在 dubbo-admin 中输入`*`查找所有服务(`*`代表所有服务)。
   
   查询的结果就是服务的基础信息,包括:服务名、组、版本、应用,对应到 pixiu 应该是:服务名、组、版本、Namespace。
   
   ---
   
   需要确认的是,pixiu 的服务查询能力是只针对上述的服务基础信息,还是说也针对如下图所示的 provider/consumer 信息和元数据信息?
   
   ![image](https://user-images.githubusercontent.com/40317966/216878810-a0462e79-3a42-43ca-834f-5d67f7335251.png)
   
   CC @AlbumenJ , PTAL.
   
   


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1279966417

   本周无进展。下周会赶进度。


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1328245637

   在看 dubbo admin 关于 service search 功能的代码实现。应该是这个函数 List<Provider> findByService(String serviceName);
   在阅读代码,有问题也会咨询远云。


-- 
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-go-pixiu] zgq25302111 commented on issue #487: Pixiu Control Plane Support Service Search

Posted by GitBox <gi...@apache.org>.
zgq25302111 commented on issue #487:
URL: https://github.com/apache/dubbo-go-pixiu/issues/487#issuecomment-1240566477

   我觉得任务需要细化下。怎么做还不清楚。


-- 
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