public interface SchemaRegistryClient
| Modifier and Type | Method and Description |
|---|---|
String |
fetch(int id)
Retrieves a schema by its identifier.
|
String |
fetch(SchemaReference schemaReference)
Retrieves a schema by its reference (subject and version).
|
SchemaRegistrationResponse |
register(String subject,
String format,
String schema)
Registers a schema with the remote repository returning the unique identifier associated with this schema.
|
SchemaRegistrationResponse register(String subject, String format, String schema)
subject - the full name of the schemaschema - SchemaRegistrationResponse representing the result of the operationString fetch(SchemaReference schemaReference)
schemaReference - a SchemaReference used to identify the target schema.String fetch(int id)
id - the id of the target schema.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.