xukeawsl commented on issue #1166:
URL: 
https://github.com/apache/rocketmq-clients/issues/1166#issuecomment-3738233477

   > 方案 A:统一 protobuf 版本,子项目里用
   > 
   > if(NOT TARGET protobuf::libprotobuf) find_package(Protobuf REQUIRED) 
endif()
   > 
   > 方案 B:把 grpc 客户端做成“进程外隔离”(真正隔离)把 grpc 客户端编译成一个单独的可执行程序/守护进程(或一个 
microservice),主程序用 socket/HTTP/本地 RPC/管道通讯。做成单独的动态库 + dlopen:仍然可能因为全局符号冲突而互相踩
   
   嗯,我升级了一下库,统一protobuf版本了,方案 B 还是不好搞


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

Reply via email to