Skip to content

Reference schema from other subject during validation #3485

Open
@urmichm

Description

@urmichm

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?

Metadata

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