Comments (4)
Currently, schema name(in schema metadata) should be unique across the registry irrespective of the group.
When a schema metadata with the given schema name is already given then it returns the earlier registered schema metadata. When you try to add a schema with the existing schema metadata then it will be added as new version of the existing schema and it returns the schema version id.
Adding an API as part of #77 to throw an error when you try to register new schema metadata with the existing name.
from registry.
Having uniqueness with schema name and group gives separation of schemas at group level. We have started with that separation but I guess it was decided users can have naming convention like "group.name" as part of schema metadata name and name can be unique in a registry cluster.
+1 with the current abstraction on having separation. I would like to hear opinions on whether there are any usecases in which this abstraction is not that appropriate for them.
from registry.
@michaelandrepearce any thoughts on this matter
from registry.
+1
One main point is that the numerical ids generated and used in serialised data must remain globally unique (as these globally identify the schema once registered irrespective of group or name).
Having the schema name uniqueness I think this is sensible, as essentially allows you to have different sub-units within an organisation to become self managing without the need for either setting up seperate repos or having each sub-unit having collisions.
from registry.
Related Issues (20)
- Remove all server-side caches from Schema Registry
- Upgrade Scala to 2.13.10 due to CVE-2022-36944
- Support deserialization when the topic and schema names don't match
- SchemaVersionProtocolHandlerTest is flaky
- Upgrade Dropwizard to the latest version
- support for auto register schemas via properties HOT 1
- Make jar signing optional in the build.
- Support rolling upgrade
- Fix compile error in JsonSerDesHandlerTest
- Exclude vulnerable snakeyaml from Schema Registry libs
- Change the format of mTLS principal mapping rules to be consistent with kafka
- Schema Registry Client does not update its cache when a schema version deleted
- SR client SchemaVersionInfoCache is not thread safe
- Schema registry migrate k8s /ci tests to testcontainer setup
- Schema fingerprinting handles union ordering as distinctive feature
- SR server does not handle SchemaParseException properly
- SR client SchemaMetadataCache leaks memory
- SR server does not handle SchemaParseException properly
- high concurrency r/w trigger the full table scan which got stuck
- Hortonwork Schema Registry 1.0.0 (Invalid POM) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from registry.