Use protobuf3 for internal serialization (#27366)
* Only load akka protobuf serializer if protobuf on the classpath
This commit is contained in:
parent
bbff92ade6
commit
6c13949aec
77 changed files with 59524 additions and 36063 deletions
|
|
@ -255,13 +255,13 @@ All wire protocol changes that may concern rolling upgrades should be documented
|
|||
|
||||
## Protobuf
|
||||
|
||||
Akka includes a shaded version of protobuf `2.5.0` that is used for internal communication. To generate files
|
||||
Akka includes a shaded version of protobuf `3.9.0` that is used for internal communication. To generate files
|
||||
run `protobufGenerate`. The generated files are put in the `src/main/java` of each project and need to be commited.
|
||||
The generated files are automatically transformed to use the shaded version of protobuf.
|
||||
|
||||
Generation depends on protoc `2.5.0` being on the path. Old versions of
|
||||
Generation depends on protoc `3.9.0` being on the path. Old versions of
|
||||
protoc can be downloaded from the [protobuf release page](https://github.com/protocolbuffers/protobuf/releases) and built from
|
||||
source or downloaded from [maven central](http://repo1.maven.org/maven2/com/google/protobuf/protoc/2.5.0/). See
|
||||
source or downloaded from [maven central](http://repo1.maven.org/maven2/com/google/protobuf/protoc/3.9.0/). See
|
||||
[Protobuf.scala](https://github.com/akka/akka/blob/master/project/Protobuf.scala) for details of how to override
|
||||
the settings for generation.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue