forked from voldemort/voldemort
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added check for schema backwards compatibility for Avro
in Admin Client tool and server startup
- Loading branch information
Showing
6 changed files
with
988 additions
and
38 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,38 @@ | ||
<stores> | ||
<store> | ||
<name>test</name> | ||
<persistence>bdb</persistence> | ||
<description>Test store</description> | ||
<owners> harry@hogwarts.edu, hermoine@hogwarts.edu </owners> | ||
<routing>client</routing> | ||
<replication-factor>1</replication-factor> | ||
<required-reads>1</required-reads> | ||
<required-writes>1</required-writes> | ||
<key-serializer> | ||
<type>string</type> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>string</type> | ||
</value-serializer> | ||
</store> | ||
<store> | ||
<name>test-evolution</name> | ||
<persistence>bdb</persistence> | ||
<description>Test store</description> | ||
<owners> harry@hogwarts.edu, hermoine@hogwarts.edu </owners> | ||
<routing>client</routing> | ||
<replication-factor>1</replication-factor> | ||
<required-reads>1</required-reads> | ||
<required-writes>1</required-writes> | ||
<key-serializer> | ||
<type>string</type> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>avro-generic-versioned</type> | ||
<schema-info version="0">{"type": "record", "name": "myrec","fields": [{ "name": "original", "type": "string" }]}</schema-info> | ||
<schema-info version="1">{"type": "record", "name": "myrec","fields": [{ "name": "original", "type": "string" }, { "name": "new-field", "type": "string", "default":"" }]} | ||
</schema-info> | ||
</value-serializer> | ||
</store> | ||
</stores> | ||
<stores> | ||
<store> | ||
<name>test</name> | ||
<persistence>bdb</persistence> | ||
<description>Test store</description> | ||
<owners>harry@hogwarts.edu, hermoine@hogwarts.edu</owners> | ||
<routing-strategy>consistent-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>1</replication-factor> | ||
<required-reads>1</required-reads> | ||
<required-writes>1</required-writes> | ||
<key-serializer> | ||
<type>string</type> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>string</type> | ||
</value-serializer> | ||
</store> | ||
<store> | ||
<name>test-evolution</name> | ||
<persistence>bdb</persistence> | ||
<description>Test store</description> | ||
<owners>harry@hogwarts.edu, hermoine@hogwarts.edu</owners> | ||
<routing-strategy>consistent-routing</routing-strategy> | ||
<routing>client</routing> | ||
<replication-factor>1</replication-factor> | ||
<required-reads>1</required-reads> | ||
<required-writes>1</required-writes> | ||
<key-serializer> | ||
<type>string</type> | ||
</key-serializer> | ||
<value-serializer> | ||
<type>avro-generic-versioned</type> | ||
<schema-info version="0">{"type": "record", "name": "myrec","fields": [{ "name": "original", "type": "string" }]}</schema-info> | ||
<schema-info version="1">{"type": "record", "name": "myrec","fields": [{ "name": "original", "type": "string" }, { "name": "new-field", "type": "string", "default":"" }]}</schema-info> | ||
</value-serializer> | ||
</store> | ||
</stores> |
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
Oops, something went wrong.