[
https://issues.apache.org/jira/browse/AVRO-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194836#comment-13194836
]
Raymie Stata commented on AVRO-1006:
------------------------------------
We believe that, in pub/sub and other scenarios, schema repositories will
become a standard part of the Avro infrastructure. Given that, to promote an
ecosystem with interoperable but alternative implementations, we believe that
"common" (let's not call them "standard") ways to generate good, hash-based
fingerprints will be useful. In particular, while standard, cryptographic
hashes are good enough for fingerprints of size greater than 128 bits, we
believe that 64-bit hashes represent a very useful point in the size/diversity
tradeoff space, and there should be a common way in the Avro ecosystem for
generating 64-bit hashes.
Does this make sense? If so, I think I'll re-write the explanation around this
line of reasoning, which is indeed closer to our original though process.
All this being said, your point about schema numbers is a good one, I'll add a
note about that technique on the section about schema repositories. It seems
like the right protocol here is for the "inserter" of a schema to insert the
schema and get an identifier back from the repository before using the schema.
Is that how you do it?
> Fingerprints for Avro Schemas
> -----------------------------
>
> Key: AVRO-1006
> URL: https://issues.apache.org/jira/browse/AVRO-1006
> Project: Avro
> Issue Type: New Feature
> Components: java
> Reporter: Raymie Stata
> Assignee: Raymie Stata
> Labels: features
> Attachments: schema-fingerprinting.html, schema-fingerprinting.html,
> schema-fingerprinting.html
>
>
> Add function that returns a standardized, 64-bit fingerprint for schemas.
> Fingerprints are designed such that the chances of collisions is very, very
> low.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira