-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
store_avro_kafka: add naive defaults to avro schemas
In order to support avro schema evolution, add naive default values to each field (except the timestamp, which ldms metric sets will always contain). Technically for the default form of schema evolution in kafka, we only need to have defaults for any _new_ fields that we add when evolving a schema. However, we are not tracking the various iterations of the schema over time, so just setting defaults for all fields allows us greater flexibility.
- Loading branch information
Showing
1 changed file
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters