Class JsonSchemaSchemaRegistry


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class JsonSchemaSchemaRegistry
    extends Object
    JsonSchemaSchemaRegistry
    • Constructor Detail

      • JsonSchemaSchemaRegistry

        public JsonSchemaSchemaRegistry()
    • Method Detail

      • getLeaderEligibility

        @Nullable
        public Boolean getLeaderEligibility()
        If true, Karapace / Schema Registry on the service nodes can participate in leader election. It might be needed to disable this when the schemas topic is replicated to a secondary cluster and Karapace / Schema Registry there must not participate in leader election. Defaults to `true`.
        Returns:
        leaderEligibility
      • setLeaderEligibility

        public void setLeaderEligibility​(Boolean leaderEligibility)
      • getTopicName

        @Nullable
        public String getTopicName()
        The durable single partition topic that acts as the durable log for the data. This topic must be compacted to avoid losing data due to retention policy. Please note that changing this configuration in an existing Schema Registry / Karapace setup leads to previous schemas being inaccessible, data encoded with them potentially unreadable and schema ID sequence put out of order. It's only possible to do the switch while Schema Registry / Karapace is disabled. Defaults to `_schemas`.
        Returns:
        topicName
      • setTopicName

        public void setTopicName​(String topicName)
      • equals

        public boolean equals​(Object o)
        Return true if this json-schema-schema-registry object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string