@Override
  public void validate(final String name, final Object value) {
    if (immutableProps.contains(name)) {
      throw new IllegalArgumentException(String.format("Cannot override property '%s'", name));
    }

    final Consumer<Object> validator = HANDLERS.get(name);
    if (validator != null) {
      validator.accept(value);
    }
  }
@Test
  public void shouldThrowOnNoneOffsetReset() {
    // When:
    final IllegalArgumentException e = assertThrows(
        IllegalArgumentException.class,
        () -> validator.validate(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, "none")
    );

    // Then:
    assertThat(e.getMessage(), containsString(
        "'none' is not valid for this property within KSQL"
    ));
  }