Skip to content

Commit

Permalink
remove schema constructable
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck committed Oct 21, 2023
1 parent 0808530 commit 5eff26b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
import org.apache.avro.Schema;
import org.apache.avro.SchemaBuilder;
import org.apache.avro.generic.IndexedRecord;
import org.apache.avro.specific.SpecificData.SchemaConstructable;

/** Interface for complex types that will be used in an event schema. */
public interface Element extends IndexedRecord, SchemaConstructable {
public interface Element extends IndexedRecord {
Schema UUID_SCHEMA =
LogicalTypes.uuid().addToSchema(SchemaBuilder.builder().fixed("uuid").size(16));
}

0 comments on commit 5eff26b

Please sign in to comment.