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/05/30 16:47:20 UTC

[GitHub] [dubbo] a4363220 opened a new issue, #10105: kryo序列化引包问题

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

   dubbo:3.0.8
   dubbo-serialization-kryo:1.0.0
   在序列化拓展包中没有排除dubbo-common模块导致项目启动报错
   <dependency>
       <groupId>org.apache.dubbo.extensions</groupId>
       <artifactId>dubbo-serialization-kryo</artifactId>
       <exclusions>
           <!-- 这里存在一个引包bug,引入的是3.0.6的dubbo-coomon包导致项目启动不起来 而我当前使用的dubbo版本是3.0.8 -->
           <exclusion>
               <groupId>org.apache.dubbo</groupId>
               <artifactId>dubbo-common</artifactId>
           </exclusion>
       </exclusions>
   </dependency>
   
   经过上面的方式排除依赖后,项目才正常启动。
   
   还有一个疑问,我采取dubbo协议时,optimizer指定的类被加载了,但是换成tri协议却不加载请问这是什么原因?
     # 协议名称
     name: tri
     # 序列化配置
     serialization: kryo
     # 序列化对象配置实现
     optimizer: com.grain.pay.service.api.serialization.SerializationOptimizerImpl


-- 
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] AlbumenJ commented on issue #10105: kryo序列化引包问题

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

   > 在序列化拓展包中没有排除dubbo-common模块导致项目启动报错
   
   这个我尝试在下一个 dubbo-serialization-kryo 版本中修复一下
   
   > 采取dubbo协议时,optimizer指定的类被加载了,但是换成tri协议却不加载请问这是什么原因?
   
   @guohao @EarthChen 麻烦帮忙看一下


-- 
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] chickenlj closed issue #10105: kryo序列化引包问题

Posted by GitBox <gi...@apache.org>.
chickenlj closed issue #10105: kryo序列化引包问题
URL: https://github.com/apache/dubbo/issues/10105


-- 
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] EarthChen commented on issue #10105: kryo序列化引包问题

Posted by GitBox <gi...@apache.org>.
EarthChen commented on issue #10105:
URL: https://github.com/apache/dubbo/issues/10105#issuecomment-1153495641

   `Triple` 协议没有注册`optimizer`, 我这边最近 fix 一下


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