Add note about using newer protoc in contributing doc (#1824)

This commit is contained in:
Cijo Thomas 2024-05-24 13:01:56 -07:00 committed by GitHub
parent ec9fd62d2e
commit 28f8dbca39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@ You can provide the protocol compiler protoc path programmatically (only works w
export PROTOC=$(which protoc)
```
It is recommended to use "3.15" or newer of protoc, as some of the proto
definitions include "optional" fields, that are not supported in older versions,
resulting in errors as shown
[here](https://github.com/open-telemetry/opentelemetry-proto/issues/451).
Prerequisites to build the protocol compiler protoc from source
- [protoc](https://github.com/protocolbuffers/protobuf)