Class SchemaRegistryClientFactory


  • public class SchemaRegistryClientFactory
    extends java.lang.Object
    Factory class for creating Schema Registry client.
    • Constructor Detail

      • SchemaRegistryClientFactory

        public SchemaRegistryClientFactory()
    • Method Detail

      • withDefaultNamespace

        public static SchemaRegistryClient withDefaultNamespace​(SchemaRegistryClientConfig config)
        Factory method to create Schema Registry Client with default namespace. This sets the namespace context to use the default namespace (no namespace).
        Parameters:
        config - Configuration for creating registry client.
        Returns:
        SchemaRegistry client implementation
      • withNamespace

        public static SchemaRegistryClient withNamespace​(java.lang.String namespace,
                                                         SchemaRegistryClientConfig config)
        Factory method to create Schema Registry Client with namespace. This sets the namespace context for all calls to registry service.
        Parameters:
        config - Configuration for creating registry client.
        namespace - Namespace
        Returns:
        SchemaRegistry client implementation