Documentation
¶
Overview ¶
Example: Protocol Buffers Serializer
This example demonstrates how to use Protocol Buffers serialization for highly efficient, strongly-typed event storage.
Protocol Buffers provides: - Smaller binary size than JSON and MessagePack - Strong typing with schema enforcement - Forward/backward compatibility with field numbering - Fast serialization/deserialization
Run with: go run .
Click to show internal directories.
Click to hide internal directories.