
You can either try going straight from 2.6.x to 3.1.4, or in increments: update to 2.6.10, then 2.7.8, then 3.1.4. Instead, it’s recommended to update the project to at least the latest patch version (the third digit).įor example, if your project is currently using Ruby 2.6.6, or any version of 2.6 lower than 2.6.10, the first thing I recommend you do is update it to at least 3.1.4. They get stuck because they think they have to use the version of Ruby that’s specified in the project’s. This is another common source of confusion because people don’t understand how Ruby versioning works.

Public class CalculatorHandler implements Calculator. To learn more about Apache Thrift Read the Whitepaper

The sample tutorial.thrift file used for all the client and server tutorials can be found here. To generate the source from a thrift file run thrift -gen The Thrift compiler is used to generate your Thrift File into source code which is used by the different client libraries and the server you write. The services you define in this file are implemented by the server and are called by any clients. This file is an interface definition made up of thrift types and Services.


See the installing Thrift guide for any help with this step.Īfter the Thrift compiler is installed you will need to create a thrift file. You will then need to build the Apache Thrift compiler and install it.
