class KsqlSchemaRegistryClientFactory {

  public SchemaRegistryClient create() {
    final RestService restService = serviceSupplier.get();
    final SSLContext sslContext = sslFactory.sslContext();
    if (sslContext != null) {
      restService.setSslSocketFactory(sslContext.getSocketFactory());
    }

    return new CachedSchemaRegistryClient(restService, 1000);
  }

  public  KsqlSchemaRegistryClientFactory(final KsqlConfig config);
    KsqlSchemaRegistryClientFactory(final KsqlConfig config,
                                  final Supplier<RestService> serviceSupplier,
                                  final SslFactory sslFactory);

}