-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract avro validator #440
Extract avro validator #440
Conversation
6121137
to
944f48a
Compare
944f48a
to
a56479b
Compare
53f725c
to
41d4db2
Compare
...afka/src/test/java/io/aklivity/zilla/runtime/binding/kafka/internal/stream/CacheFetchIT.java
Outdated
Show resolved
Hide resolved
...afka/src/test/java/io/aklivity/zilla/runtime/binding/kafka/internal/stream/CacheFetchIT.java
Outdated
Show resolved
Hide resolved
...inding-kafka.spec/src/test/java/io/aklivity/zilla/specs/binding/kafka/config/SchemaTest.java
Outdated
Show resolved
Hide resolved
@@ -180,6 +184,8 @@ public final class Engine implements Collector, AutoCloseable | |||
schemaTypes.addAll(metricGroups.stream().map(MetricGroup::type).filter(Objects::nonNull).collect(toList())); | |||
schemaTypes.addAll(vaults.stream().map(Vault::type).filter(Objects::nonNull).collect(toList())); | |||
schemaTypes.addAll(catalogs.stream().map(Catalog::type).filter(Objects::nonNull).collect(toList())); | |||
schemaTypes.addAll(validatorFactory.validatorSpis().stream().map(ValidatorFactorySpi::schema) | |||
.filter(Objects::nonNull).collect(toList())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, let's make sure to remove the filter when we have core extracted so every validator factory comes with a schema patch.
{ | ||
return null; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also to be removed when core validators are extracted.
Description
Extract the avro validator from
runtime/engine
toincubator/validator-avro
.Fixes # (issue)