Class CheckSchemaCompatibility
java.lang.Object
io.confluent.kafka.schemaregistry.tools.CheckSchemaCompatibility
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()protected booleancompareSubject(SchemaRegistryClient sourceClient, SchemaRegistryClient targetClient, String subject) protected booleancompareSubjects(List<String> sourceSubjects, List<String> targetSubjects, SchemaRegistryClient sourceClient, SchemaRegistryClient targetClient) protected booleancompareVersion(SchemaRegistryClient sourceClient, SchemaRegistryClient targetClient, String subject, Integer version) static void
-
Constructor Details
-
CheckSchemaCompatibility
public CheckSchemaCompatibility()
-
-
Method Details
-
call
-
compareSubjects
protected boolean compareSubjects(List<String> sourceSubjects, List<String> targetSubjects, SchemaRegistryClient sourceClient, SchemaRegistryClient targetClient) throws RestClientException, IOException - Throws:
RestClientExceptionIOException
-
compareSubject
protected boolean compareSubject(SchemaRegistryClient sourceClient, SchemaRegistryClient targetClient, String subject) throws RestClientException, IOException - Throws:
RestClientExceptionIOException
-
compareVersion
protected boolean compareVersion(SchemaRegistryClient sourceClient, SchemaRegistryClient targetClient, String subject, Integer version) throws RestClientException, IOException - Throws:
RestClientExceptionIOException
-
main
-