wxrqforever commented on issue #7094:
URL: 
https://github.com/apache/incubator-seata/issues/7094#issuecomment-2568872634

   > 我认为java-agent的实现不太利于社区的用户使用,并且与其他的实现有些割裂,建议直接在integration中进行扩展
   > I believe the implementation of the Java agent is not very user-friendly 
for the community and is somewhat disconnected from other implementations. I 
recommend extending it directly within the integration module.
   
   
这里我没太理解直接在integration中进行扩展的意思。我计划的实现是在integration下新增一个子项目,命名为seata-http-agent,然后提交基于java-agent+bytebuddy的一个插件增强框架,并带上对于okhttp插件的实现。关于提到的实现割裂,确实因为它只是对于http类相关的增强,并没有具备完整seata的功能。但是我理解可以把它作为http类插件补充实现,对于社区的用户,尤其是存在大量存量类okhttp插件调用的场景(其他的比如httpclient3、httpclient4),想要做到无侵入接入(如果是spring管理的,也许可以像feign那样,但是如果是非spring管理则难以做到),就可以考虑自己扩展,还可以单独打包agent,和整个seata一并使用。
   
   <img width="485" alt="image" 
src="https://github.com/user-attachments/assets/10fb4001-007f-4259-9ace-5909891f4f84";
 />
   
   回复中提到的“直接在integration中进行扩展”,是希望我提供类AbstractHttpExecutor的实现,但是底层是通过okhttp的调用吗?
   


-- 
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-unsubscr...@seata.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to