Coder Social home page Coder Social logo

avro-compatibility's People

Contributors

ajborley avatar cmathiesen avatar dependabot[bot] avatar massdosage avatar s-hcom-ci avatar teabot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avro-compatibility's Issues

Include Dependabot and an automated Workflow to publish to Maven in the Project

Hi.

We would like to use this project in our workflow at Hapag Llyod.
As we are required to make sure that all dependencies are up to date to reduce security risks, we sadly can't use the project in it's current state.

I've seen that you are using dependabot to automatically update dependencies in some of your other open source projects.
You also seem to have some projects with Github Workflows allowing changes to be automatically published to maven.

Would you be able to include those tools in this repository as well, so that the dependencies will easily be kept up to date without much effort for you?

We would really appreciate it.
Thanks a lot
Julius

PS: If you want, we can also try to make the changes and create a PR for them, so that you will only need to add the required variables to the project.

View on compatible schemas that are deemed incompatible?

Given the following schemas

{
	"type": "record",
	"name": "Example",
	"namespace": "example.1.0",
	"fields": [{
		"name": "name",
		"type": "string"
	}]
}
{
	"type": "record",
	"name": "Example",
	"namespace": "example.2.0",
	"fields": [{
		"name": "name",
		"type": "string"
	}, {
		"name": "age",
		"type": "int",
		"default": 0
	}]
}

The following all return false

Compatibility.checkThat(one).canBeReadBy(two).isCompatible();
Compatibility.checkThat(two).canBeReadBy(one).isCompatible();
Compatibility.checkThat(one).canRead(two).isCompatible();
Compatibility.checkThat(two).canRead(one).isCompatible();

But reading works

The following data written with example.1.0.Example...

{"name": "foo"}

...when read with example.2.0.Example becomes...

{"name": "foo", "age": 0}

My actual question

While I see the sense for this library to rely on org.apache.avro.SchemaCompatibility I'm wondering how to view/reason around scenarios such as the one described here with two clearly(?) compatible schemas that "all" compatibility logic claim are not compatible.

(perhaps this is a question better asked to the Avro users mailing list?)

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.