Class SchemaRegistryClientConfig


  • public class SchemaRegistryClientConfig
    extends java.lang.Object
    Registry client configuration used to create registry client.
    • Method Detail

      • getSchemaRegistryUri

        public java.net.URI getSchemaRegistryUri()
        URI for connecting with registry client.
      • isAuthEnabled

        public boolean isAuthEnabled()
        Flag to indicate if authentication is enabled.
      • getCredentialProvider

        public io.pravega.schemaregistry.common.CredentialProvider getCredentialProvider()
        CredentialProvider to be used for authentication and authorization.
      • getTrustStore

        public java.lang.String getTrustStore()
      • getTrustStoreType

        public java.lang.String getTrustStoreType()
        Type of key store used as the trust store - e.g. jks, pkcs11, pkcs12, dks etc. If not specified then either certificate (if configured) or default java TLS store as specified in system properties would be used.
      • getTrustStorePassword

        public java.lang.String getTrustStorePassword()
        Password for the trust store. Defaults to null.
      • getCertificate

        public java.lang.String getCertificate()
        If the trust store is a certificate file, typically DER or PEM file.
      • isValidateHostName

        public boolean isValidateHostName()
        Flag to indicate whether client should perform host name validation in server authentication certificate.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object