You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "lossend (via GitHub)" <gi...@apache.org> on 2023/10/31 14:43:35 UTC

[I] dubbo filter 中如何判断当前 invoker 是consumer 还是 provider [dubbo]

lossend opened a new issue, #13292:
URL: https://github.com/apache/dubbo/issues/13292

   之前 dubbo 2.7 版本的时候通过 RpcContext.isProviderSide判断,换了 3.0.9之后就不行了,报空指针,请问怎么判断才能同时兼容 dubbo3.0.9 和dubbo 2.7 版本
   


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


Re: [I] dubbo filter 中如何判断当前 invoker 是consumer 还是 provider [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #13292:
URL: https://github.com/apache/dubbo/issues/13292#issuecomment-1788881042

   最简单的方式是实现两个 Filter,通过 Activate 去隔离


-- 
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] dubbo filter 中如何判断当前 invoker 是consumer 还是 provider [dubbo]

Posted by "lossend (via GitHub)" <gi...@apache.org>.
lossend commented on issue #13292:
URL: https://github.com/apache/dubbo/issues/13292#issuecomment-1787364465

   我现在这么判读,是否能兼容两种版本
   ![image](https://github.com/apache/dubbo/assets/49791601/3624153c-d546-4d21-bb43-6f4e8c3f9f70)
   


-- 
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] dubbo filter 中如何判断当前 invoker 是consumer 还是 provider [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ closed issue #13292: dubbo filter 中如何判断当前 invoker 是consumer 还是 provider
URL: https://github.com/apache/dubbo/issues/13292


-- 
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] dubbo filter 中如何判断当前 invoker 是consumer 还是 provider [dubbo]

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #13292:
URL: https://github.com/apache/dubbo/issues/13292#issuecomment-1987686947

   No news is good news. Please feel free to create a new issue if you have any question.
   
   


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