public Map<String, Object> sanitizeConnectorConfig(@Nullable Map<String, Object> original) {
    var result = new HashMap<String, Object>(); //null-values supporting map!
    if (original != null) {
      original.forEach((k, v) -> result.put(k, sanitize(k, v)));
    }
    return result;
  }
@Test
  void sanitizeConnectorConfigDoNotFailOnNullableValues() {
    Map<String, Object> originalConfig = new HashMap<>();
    originalConfig.put("password", "secret");
    originalConfig.put("asIs", "normal");
    originalConfig.put("nullVal", null);

    var sanitizedConfig = new KafkaConfigSanitizer(true, List.of())
        .sanitizeConnectorConfig(originalConfig);

    assertThat(sanitizedConfig)
        .hasSize(3)
        .containsEntry("password", "******")
        .containsEntry("asIs", "normal")
        .containsEntry("nullVal", null);
  }