GithubHelp home page GithubHelp logo

Comments (4)

satishd avatar satishd commented on May 31, 2024

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.

satishd avatar satishd commented on May 31, 2024

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.

harshach avatar harshach commented on May 31, 2024

@michaelandrepearce any thoughts on this matter

from registry.

michaelandrepearce avatar michaelandrepearce commented on May 31, 2024

+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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.