Code Monkey home page Code Monkey logo

avro_schema_designer's Introduction

Avro_Schema_Designer

Version 1.2.0 A complete tool to create Avro Schema Files from JSON and CSV files and validate them. User can create Avro Schema files manually as well. The tool provides a connection to the Schema Registry of Kafka Systems for user to pull or push new or existing Avro Schema files. The tool also takes care of the schema versions on in Schema Registry.


Overview

Avro Schema files are used in Schema Registry of Kafka systems to ensure metadata integrity. The tool generates and validates Avro schema files instantly saving manhours of 2 days. A user can create and validate new schemas or existing schemas on local or Schema Registry of Kafka Systems

A project created in grad Computer Science class as personal project.


Project Environment

The project is completely developed in Python2 & Python 3. Following python modules have been used:

  1. wxPython --> UI
  2. json --> Manipulation of json files
  3. six --> Provides utility functions for smoothing over the differences between the Python versions (2 and 3)
  4. requests --> To push or pull Avro Schema files from Schema Registry of Kafka Systems
  5. ast --> Process trees of the Python abstract syntax grammar
  6. logging --> Record logs of all the operations
  7. re --> Provides regular expression matching operations
  8. pandas, numpy, collections --> Data manipulation

Features

  1. Create Avro Schema files from
    i. JSON
    ii. CSV
    iii. Manually
  2. Validate schemas from
    i. manual creation
    ii. Auto-generated through the tool
    iii. Existing on local
  3. Connect to Schema Registry of Kafka Systems to pull or push Avro Schemas

Guide

  1. Run the Stub.py file
  2. Create a new schema manually or Open existing file through file menu
  3. Open a csv/json file to create schema
  4. Edit/ add field to the schema using the Edit/Add th field option
  5. If required, add a sub-field using the "Add Sub-Record" option
  6. Submit Schema to create a schema in local directory
  7. Click on "Validator" button in menu list to open Validator feature
  8. Load schema from either local, schema generator or Schema Registry
  9. For importing schema from Schema Registry, enter the Kafka System link
  10. Once validated, push the schema to Schema Registry with appropriate schema subject and version

Contributors


Licence & Copyright

© ajinkyad13


Screenshots of the tool

scrnshot1 scrnshot2 scrnshot3 scrnshot4 scrnshot4

Note: Kafka System Schema Registry connection issue will be solved soon

avro_schema_designer's People

Contributors

ajinkyad13 avatar

Watchers

James Cloos avatar  avatar

Forkers

kaich1n

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.