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.
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.
The project is completely developed in Python2 & Python 3. Following python modules have been used:
- wxPython --> UI
- json --> Manipulation of json files
- six --> Provides utility functions for smoothing over the differences between the Python versions (2 and 3)
- requests --> To push or pull Avro Schema files from Schema Registry of Kafka Systems
- ast --> Process trees of the Python abstract syntax grammar
- logging --> Record logs of all the operations
- re --> Provides regular expression matching operations
- pandas, numpy, collections --> Data manipulation
- Create Avro Schema files from
i. JSON
ii. CSV
iii. Manually - Validate schemas from
i. manual creation
ii. Auto-generated through the tool
iii. Existing on local - Connect to Schema Registry of Kafka Systems to pull or push Avro Schemas
- Run the Stub.py file
- Create a new schema manually or Open existing file through file menu
- Open a csv/json file to create schema
- Edit/ add field to the schema using the Edit/Add th field option
- If required, add a sub-field using the "Add Sub-Record" option
- Submit Schema to create a schema in local directory
- Click on "Validator" button in menu list to open Validator feature
- Load schema from either local, schema generator or Schema Registry
- For importing schema from Schema Registry, enter the Kafka System link
- Once validated, push the schema to Schema Registry with appropriate schema subject and version
- Ajinkya Deshmukh [email protected]
© ajinkyad13