public class FindBySchemaIdStrategy<T> extends Object implements GlobalIdStrategy<T>
| Constructor and Description |
|---|
FindBySchemaIdStrategy() |
| Modifier and Type | Method and Description |
|---|---|
long |
findId(RegistryService service,
String artifactId,
io.apicurio.registry.types.ArtifactType artifactType,
T schema)
For a given topic and message, returns the artifact id under which the
schema should be registered in the registry.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStreampublic long findId(RegistryService service, String artifactId, io.apicurio.registry.types.ArtifactType artifactType, T schema)
GlobalIdStrategyfindId in interface GlobalIdStrategy<T>service - the registry serviceartifactId - the schema artifact idartifactType - the artifact typeschema - the schema of the message being serialized/deserializedCopyright © 2020 Red Hat. All rights reserved.