实战 Docker+Kubernetes 微服务容器化(三)-微服务开发
1 微服务业务分析 thrift 官网 安装 下载 boost 如果報錯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 新建 demo 文件 生成对应语言文件 生成众多的方法