Git Product home page Git Product logo

ccloud-registry-action's Introduction

Confluent Cloud Registry Action

Master Workflow Coverage Status FOSSA Status License

This Github Action validates the compatibility of your avro schemas against Confluent Cloud Schema Registry. Regard less of your programming language you can use it just by creating the two following files.

An schema.yml mapping schemas to subjects for validation

---
schemas:
  - subject: subject1-key
    file: schema0.avsc
# - ...

A Github Actions specification in the workflow folder (.github/workflows/*.yml)

uses: divloic/[email protected]
with:
  avro-files-path: src/main/avro/
  avro-subject-yaml: schemas.yaml
  schema-registry-url: ${{ secrets.SCHEMA_REGISTRY_URL }}
  schema-registry-api-key: ${{ secrets.SCHEMA_REGISTRY_API_KEY }}
  schema-registry-secret-key: ${{ secrets.SCHEMA_REGISTRY_SECRET_KEY }}

Inputs

input description default
avro-files-path path to the schemas folder src/main/avro/
avro-subject-yaml path to the subject file /schema.yml
schema-registry-url url to the schema-registry ⚠️ required
schema-registry-api-key Confluent API key ⚠️ required
schema-registry-secret-key Confluent secret key ⚠️ required

Outputs

This action has no output yet. It simply logs or crashes in case of incompatibilities.

Example usage

You can find a complete example in this repository: ccloud-registry-example

Contribute

Licence

This project is licensed under Apache License 2.0

FOSSA Status

ccloud-registry-action's People

Contributors

divloic avatar

Watchers

 avatar

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.