thrift://
| 2.3.0以上版本支持。 | 
| Thrift说明 Thrift是Facebook捐给Apache的一个RPC框架,参见:http://thrift.apache.org  | 
| dubbo thrift协议 当前 dubbo 支持的 thrift 协议是对 thrift 原生协议的扩展,在原生协议的基础上添加了一些额外的头信息,比如service name,magic number等。使用dubbo thrift协议同样需要使用thrift的idl compiler编译生成相应的java代码,后续版本中会在这方面做一些增强。  | 
依赖:
所有服务共用一个端口:(与原生Thrift不兼容)
Thrift不支持数据类型:
- null值 (不能在协议中传递null值)
 
        
            Labels:
        
        
            
                None
            
            
                            
                    
        
        
    
2 Comments
comments.show.hide三月 01, 2013
Anonymous
问个问题
使用thrift生成的代码,如例子中的com.alibaba.dubbo.rpc.gen.thrift.Demo$Iface
但是不使用thrift协议,使用dubbo协议
这个时候zookeeper中会出现好多的252525252525这样的字符,会导致监控中心挂掉
这个是什么原因啊?
八月 22, 2013
Anonymous
同样问题,跟踪发现是对%符号的转义做的有问题,这个对所有内部接口都存在问题
Anonymous replies:
Help Tips
- Text formatting
 
     
     
    - Headings
    
  
     
    - Lists
 
     
     
Full notation guide*bold*bold_italic_italich1.Large headingh5.Small heading*Bulleted point#Numbered point