aamingaa commented on issue #11646:
URL: https://github.com/apache/dubbo/issues/11646#issuecomment-1445136639

   > @aamingaa 
原来我文件目录错了,要建META-INF/dubbo/internal/org.apache.dubbo.rpc.PenetrateAttachmentSelector层次的目录,我少建了internal目录,记得之前扩展Filter的时候不需要internal目录的,这个SPI扩展有什么区别吗?文档上没看到有关这部分的说明。
   > 
   > @AlbumenJ 我想我可能理解错透传的意思了,我以为是A调B,然后A再调C的时候传递参数,我是想在一个地方设置Trace 
ID,然后在所有调用中都可以取到这个参数,实际上透传是A调用B,然后B再调用C的时候透传,如果A再调用其他参数就被清掉了
   
   Dubbo SPI分为三类目录:
   META-INF/services/ 目录:该目录下的 SPI 配置文件是为了用来兼容 Java SPI 。
   META-INF/dubbo/ 目录:该目录存放用户自定义的 SPI 配置文件。
   META-INF/dubbo/internal/ 目录:该目录存放 Dubbo 内部使用的 SPI 配置文件
   Filter的拓展是放在dubbo目录下,例如org.apache.dubbo.rpc.filter.GenericFilter


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to