Giter Club home page Giter Club logo

Comments (2)

filipblondeel avatar filipblondeel commented on August 27, 2024

I tried setting the outputs property of the downloadSchemasTask to make the incremental build work but that causes this error:

> Task :downloadSchemasTask FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':downloadSchemasTask'.
> Cannot fingerprint input property 'metadataConfig': value 'MetadataExtension(enabled=false, outputPath=null)' cannot be serialized.

See: https://github.com/filipblondeel/imflog-schema-registry-plugin_issue-179/blob/with-output-set/build.gradle.kts

from schema-registry-plugin.

ImFlog avatar ImFlog commented on August 27, 2024

Hey, sorry for the delay, found a couple minutes today to look at some issues of this project.
Looking quickly at your example I think It may be related to the fact that MetadataExtension and DownloadSubjects are Kotlin data classes, which are not Serializable and they are passed as Input of the Gradle task.

If we migrate those data classes to Classes that implement Serializable we might be able to use the task caching correclty.
Might want to not cache the cases where we pass -1 for version as it means we want to resolve the version at each run.

If you want to throw a PR starting only on the DownloadTask for instance to validate this, that would be great !
If not I will work on this next when I get the chance 😅

from schema-registry-plugin.

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.