Skip to content

Reference schema from other subject during validation #3485

Open
@urmichm

Description

Similar to issue #426
Can it combine schemas before validating it?
Given plugin 'kafka-schema-registry-maven-plugin'

 <plugin>
                <groupId>io.confluent</groupId>
                <artifactId>kafka-schema-registry-maven-plugin</artifactId>
                <version>7.8.0</version>
                <configuration>
                    <schemaRegistryUrls>
                        <param>${schema.registry.url}</param>
                    </schemaRegistryUrls>
                    <subjects>
                        <order-v1-value>
                            ${schema.path}/Order.avsc
                        </order-v1-value>
                    </subjects>
                </configuration>
                <executions>
                    <execution>
                        <phase>validate</phase>
                        <goals>
                            <goal>test-compatibility</goal>
                        </goals>
                    </execution>
                </executions>
</plugin>

Order and Product are the objects from #426
Schema registry has Order as a stand alone object, therefore Product is inline defined for it.
Could the validator combine the reference objects into inline definitions and then validate it against schema registry?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions