Giter VIP home page Giter VIP logo

Comments (8)

zolyfarkas avatar zolyfarkas commented on May 24, 2024 1

I have made a java schema schema client implementation for maven repos, available at: https://github.com/zolyfarkas/spf4j-jaxrs/blob/master/spf4j-jaxrs-client/src/main/java/org/spf4j/avro/SchemaClient.java

from avro-schema-examples.

zolyfarkas avatar zolyfarkas commented on May 24, 2024

from avro-schema-examples.

OneCricketeer avatar OneCricketeer commented on May 24, 2024

have to unzip a file, but I don’t see why that is an issue

Let's say I am using an embedded device, have little resources, and would like a single AVSC? What is the proposed solution there?
I guess my point is that if deploying to an HTTP file server, maybe should be configurable/shown how to deploy just the individual AVSC files and standalone artifacts rather than bundling them all. Of course, if you have imports between schemas, then multiples will need gotten, so in that case, the JAR/ZIP would be better... I can see it either way, but I find most developers I know wouldn't immediately be comfortable downloading an extracting contents of a JAR/ZIP within their code - and might not even understand a JAR is a ZIP-compatible format. If you can have http://.../artifact.zip!schema.avsc, then that seems to be a happy medium to me.

I completely am for using Maven and storing the schema in VCS, and even doing it in other repos, and others are doing it as well, such as Divolte Collector for doing web-activity tracking through Avro onto Kafka + Hadoop.

I'm not saying the Schema Registry is the alternative, or "superior" to this approach. If one needs to use the Confluent Maven Plugin on top of this, then that's their prerogative. My point was simply that, from a consumption perspective, being able to pin-point a specific Schema rather than the whole bunch, seems useful, and requires less resources in the end.

While I also agree with all the other points, could you help me understand 5? How would using Maven publish C# or TypeScript sources?

from avro-schema-examples.

zolyfarkas avatar zolyfarkas commented on May 24, 2024

from avro-schema-examples.

OneCricketeer avatar OneCricketeer commented on May 24, 2024

for example a User selects 8 fields out of 100 available in a UI, client published this partial schema to a schema repo, gets an ID back, and this is what it will used to identify the projection… instead of currently sending the entire schema...

Sounds like something where GraphQL could help

from avro-schema-examples.

zolyfarkas avatar zolyfarkas commented on May 24, 2024

from avro-schema-examples.

zolyfarkas avatar zolyfarkas commented on May 24, 2024

@OneCricketeer regarding GraphQL, take a look at: https://github.com/zolyfarkas/jaxrs-spf4j-demo/wiki/AvroCalciteRest.

Along with things (avro schema references) built on top of this approach:

https://github.com/zolyfarkas/jaxrs-spf4j-demo/wiki

cheers

from avro-schema-examples.

OneCricketeer avatar OneCricketeer commented on May 24, 2024

👀Thanks for the update

from avro-schema-examples.

Related Issues (2)

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.