当前位置:网站首页>Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
2022-07-06 16:53:00 【Flower dog fdog】
Normal procedure :
install golang Of Thrift package :
go get git.apache.org/thrift.git/lib/go/thrift
install Thrift Of IDL Compiler tools :
http://www.apache.org/dyn/closer.cgi?path=/thrift/0.10.0/thrift-0.10.0.exe
An error will be reported when compiling the client , appear not enough arguments in call to oprot.WriteMessageBegin Error of , This is because the version of the local generation protocol is the same as go get git.apache.org/thrift.git/lib/go/thrift Different versions of the library are downloaded .
You can use it first Thrift Of IDL The compiler generates the protocol , Then enter git.apache.org/thrift.git Catalog , perform git checkout 0.10.0 Then recompile it .0.10.0 Is for IDL The compiler generates the protocol .
边栏推荐
- Codeforces Global Round 19
- Usage of insert() in vector
- LeetCode 1447. Simplest fraction
- 我走過最迷的路,是字節跳動程序員的腦回路
- Submit several problem records of spark application (sparklauncher with cluster deploy mode)
- ~72 horizontal and vertical alignment of text
- 视频压缩编码和音频压缩编码基本原理
- ~79 Movie card exercise
- was unable to send heartbeat
- 【锟斤拷】的故事:谈谈汉字编码和常用字符集
猜你喜欢
SQL快速入门
LeetCode 1020. Number of enclaves
图像处理一百题(11-20)
Eureka single machine construction
这116名学生,用3天时间复刻了字节跳动内部真实技术项目
亮相Google I/O,字节跳动是这样应用Flutter的
LeetCode 1557. The minimum number of points that can reach all points
Chapter 5 detailed explanation of consumer groups
7-4 harmonic average
JS encapsulates the method of array inversion -- Feng Hao's blog
随机推荐
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
@RequestMapping、@GetMapping
Usage of insert() in vector
ffmpeg命令行使用
SQL quick start
Spark独立集群动态上线下线Worker节点
~82 style of table
ByteDance new programmer's growth secret: those glittering treasures mentors
7-6 sum of combinatorial numbers
ByteDance 2022 school recruitment R & D advance approval publicity meeting, students' top 10 issues
第5章 消费者组详解
MP4格式详解
Shell_ 01_ data processing
JS encapsulates the method of array inversion -- Feng Hao's blog
Eureka single machine construction
~73 other text styles
这群程序员中的「广告狂人」,把抖音广告做成了AR游戏
README. txt
字节跳动开源GAN模型压缩框架,算力最高节省97.8%丨ICCV 2021
ByteDance open source Gan model compression framework, saving up to 97.8% of computing power - iccv 2021