Class SchemaRegistryProperties

java.lang.Object
com.aim2be.platform.schema.SchemaRegistryProperties

@ConfigurationProperties(prefix="im2be.schema-registry") public class SchemaRegistryProperties extends Object
Externalised configuration for the schema-registry client (ADR-0011 §B + ADR-0014 D-3).

Bound to the im2be.schema-registry.* prefix in application.properties / application.yml. Defaults are chosen for a local k3d / Stage B environment; production overrides (registry URL, group ID, mode) come from each cluster's overlay.

  • Constructor Details

    • SchemaRegistryProperties

      public SchemaRegistryProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns:
      whether the autoconfig should activate
    • setEnabled

      public void setEnabled(boolean enabled)
      Parameters:
      enabled - whether the autoconfig should activate
    • getUrl

      public String getUrl()
      Returns:
      the registry base URL
    • setUrl

      public void setUrl(String url)
      Parameters:
      url - the registry base URL
    • getMode

      Returns:
      the wire-format mode
    • setMode

      public void setMode(SchemaRegistryProperties.Mode mode)
      Parameters:
      mode - the wire-format mode
    • getGroupId

      public String getGroupId()
      Returns:
      the Apicurio artifact group ID
    • setGroupId

      public void setGroupId(String groupId)
      Parameters:
      groupId - the Apicurio artifact group ID
    • getCompatibility

      public String getCompatibility()
      Returns:
      the compatibility level applied at registry-rule level
    • setCompatibility

      public void setCompatibility(String compatibility)
      Parameters:
      compatibility - the compatibility level (e.g. BACKWARD, FORWARD, FULL)