1 微服务业务分析
![img_b5cf2b0c79d9e19022f292820a113ccd.png](https://yqfile.alicdn.com/img_b5cf2b0c79d9e19022f292820a113ccd.png?x-oss-process=image/resize,w_1400/format,webp)
![img_959714cf2a3b496953badbf644ad3bf0.png](https://yqfile.alicdn.com/img_959714cf2a3b496953badbf644ad3bf0.png?x-oss-process=image/resize,w_1400/format,webp)
![img_c30b9083303ef6763abdce4538510d09.png](https://yqfile.alicdn.com/img_c30b9083303ef6763abdce4538510d09.png?x-oss-process=image/resize,w_1400/format,webp)
thrift 官网
![img_af0a88796628e090b6ec7e70019f5851.png](https://yqfile.alicdn.com/img_af0a88796628e090b6ec7e70019f5851.png?x-oss-process=image/resize,w_1400/format,webp)
![img_5122b836bcabf2dbc9bc02115a281043.png](https://yqfile.alicdn.com/img_5122b836bcabf2dbc9bc02115a281043.png?x-oss-process=image/resize,w_1400/format,webp)
安装
![img_e7dec793ced3cdd0fb62ac7ee1719d62.png](https://yqfile.alicdn.com/img_e7dec793ced3cdd0fb62ac7ee1719d62.png?x-oss-process=image/resize,w_1400/format,webp)
下载 boost
![img_2f3fe9491f5ab06488004504053e3196.png](https://yqfile.alicdn.com/img_2f3fe9491f5ab06488004504053e3196.png?x-oss-process=image/resize,w_1400/format,webp)
![img_42d861f9364ca9339acea056ff0e0c76.png](https://yqfile.alicdn.com/img_42d861f9364ca9339acea056ff0e0c76.png?x-oss-process=image/resize,w_1400/format,webp)
![img_f96ac58090b70f35f3ba4a6055eed9a2.png](https://yqfile.alicdn.com/img_f96ac58090b70f35f3ba4a6055eed9a2.png?x-oss-process=image/resize,w_1400/format,webp)
如果報錯error:
Bison version 2.5 or higher must be installed on the system!
解決辦法:mac中默認安裝了bison 2.3版本,並配置了路徑在path中。安裝最新的版本3.0.5, 並將/usr/bin中的bison刪除,將bison 3.0.5 複製到/usr/bin中
cd /usr/bin
brew install bison
brew unlink bison
source ~/.bash_profile 或者export PATH=/usr/local/Cellar/bison/3.0.5/bin:$PATH
![img_aa266adbe5677510b034a7fe967846de.png](https://yqfile.alicdn.com/img_aa266adbe5677510b034a7fe967846de.png?x-oss-process=image/resize,w_1400/format,webp)
![img_fa316aa371e6f53990721d3eeea02947.png](https://yqfile.alicdn.com/img_fa316aa371e6f53990721d3eeea02947.png?x-oss-process=image/resize,w_1400/format,webp)
![img_6ac39b3077e3d63db2fb73934bbcb9db.png](https://yqfile.alicdn.com/img_6ac39b3077e3d63db2fb73934bbcb9db.png?x-oss-process=image/resize,w_1400/format,webp)
新建 demo 文件
![img_4b1393a723ea24e798e898a435eacde1.png](https://yqfile.alicdn.com/img_4b1393a723ea24e798e898a435eacde1.png?x-oss-process=image/resize,w_1400/format,webp)
生成对应语言文件
![img_c862d9f53c6f3c138923ded5dc4bd962.png](https://yqfile.alicdn.com/img_c862d9f53c6f3c138923ded5dc4bd962.png?x-oss-process=image/resize,w_1400/format,webp)
![img_e20e71919cdf43043ef96b01e7b40008.png](https://yqfile.alicdn.com/img_e20e71919cdf43043ef96b01e7b40008.png?x-oss-process=image/resize,w_1400/format,webp)
生成众多的方法