-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add to readme information about conversion verification
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
# avsc2avdl | ||
Avro Schema to Avro IDL converter | ||
|
||
Usage: avsc2avdl [*.avsc] | ||
|
||
The result schema, in Avro IDL format, will be printed to the standard output. | ||
|
||
The result schema can be verified by converting the schema back to AVSC format using official Avro Tools. [Download avro-tools-1.10.1.jar](https://downloads.apache.org/avro/avro-1.10.1/java/avro-tools-1.10.1.jar). | ||
|
||
```bash | ||
$ ./avsc2avdl inputschema.avsc > schema.avdl | ||
$ java -jar avro-tools-1.10.1.jar idl schema.avdl > recreated.avsc | ||
$ diff inputschema.avsc recreated.avsc | ||
``` |