Very basic protobuf setup and file-io with an example of streaming Look at the git commits to see the progressive steps.
- Maven https://maven.apache.org/guides/getting-started/
- protobuf
- mvn proto compile
- mvn project with builder and consumer
- File io of protobuf
- Kafka io of protobuf
- Intellij introspection fails as the sources are generated into target/generated-sources
and target/ is marked as excluded. http://stackoverflow.com/questions/15370978/intellij-include-a-directory-contained-in-an-excluded-directory
- To enable introspection for these files, right click target/ >> "Mark Directory as" >> "Cancel Exclusion"
- Right Click "target/generated-sources" >> "Mark Directory as" >> "Generated-sources root"
- protoc compiling from maven http://sergei-ivanov.github.io/maven-protoc-plugin/usage.html Not developed any more. Rather use