feat: Add support for Thrift 0.9.1 and later versions
Add support for Thrift 0.9.1 and later versions
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/1573
Special Note:Although 51 files were added with a total of 16,937 lines of code, 12 of them are test-related files containing 14,960 lines of code, while the actual instrumentation adaptation code is only around 1,900 lines. Among the test-related code, approximately 9,000 lines were generated using the Thrift client based on IDL files for testing purposes. Due to the limitations of Thrift client code generation, these generated codes were pre-generated and placed in the project's test directory.
In order to minimize the amount of code, do you think it would be possible to re-generate the generated code on build instead of adding it to git ? The likely challenge here would be being able to maintain those over time, in particular it would really be useful to be able to re-generate and update those every time the thrift version changes, or even generating and testing multiple versions.
@YaoYingLong 兄弟你还在维护这个pull req吗
@YaoYingLong 兄弟你还在维护这个pull req吗
在的 只是最近没有时间顾的上来修改提的修改建议
Any updates?
@YaoYingLong ?