Class ApicurioRegistryClient.SchemaRegistrationResponse

java.lang.Object
ai.pipestream.registration.repository.ApicurioRegistryClient.SchemaRegistrationResponse
Enclosing class:
ApicurioRegistryClient

public static class ApicurioRegistryClient.SchemaRegistrationResponse extends Object
Result of registering a schema in Apicurio Registry, capturing the artifact ID, the assigned global ID, and the version that was stored.
  • Constructor Details

    • SchemaRegistrationResponse

      public SchemaRegistrationResponse(String artifactId, Long globalId, String version)
      Creates a registration response.
      Parameters:
      artifactId - the artifact ID the schema was registered under
      globalId - the global ID assigned by Apicurio, or null when an existing registration was reused
      version - the version that was stored
  • Method Details

    • getArtifactId

      public String getArtifactId()
      Returns the artifact ID the schema was registered under.
      Returns:
      the artifact ID
    • getGlobalId

      public Long getGlobalId()
      Returns the global ID assigned by Apicurio.
      Returns:
      the global ID, or null when an existing registration was reused
    • getVersion

      public String getVersion()
      Returns the version that was stored.
      Returns:
      the stored version