@Deprecated
  public static KsqlRestClient create(
      final String serverAddress,
      final Map<String, ?> localProps,
      final Map<String, String> clientProps,
      final Optional<BasicCredentials> creds
  ) {
    return create(
        serverAddress,
        localProps,
        clientProps,
        creds,
        Optional.empty(),
        (cprops, credz, lprops) -> new KsqlClient(cprops, credz, lprops,
            new HttpClientOptions(),
            Optional.of(new HttpClientOptions().setProtocolVersion(HttpVersion.HTTP_2)))
    );
  }
@Test
  @SuppressWarnings("deprecation")
  public void shouldAllowCallingCreateWithoutNeedingACCloudApiKey() {
    // This is a backwards compatibility check

    final KsqlRestClient client = KsqlRestClient.create(SOME_SERVER_ADDRESS, LOCAL_PROPS, CLIENT_PROPS, Optional.empty());
    assertThat(client, is(instanceOf(KsqlRestClient.class)));

    // Also with new signature
    final KsqlRestClient ccloudClient = KsqlRestClient.create(SOME_SERVER_ADDRESS, LOCAL_PROPS, CLIENT_PROPS, Optional.empty(), Optional.empty());
    assertThat(ccloudClient, is(instanceOf(KsqlRestClient.class)));
  }