static Properties resolveConsumerProperties(Map<String, String> options, Object keySchema, Object valueSchema) {
        Properties properties = from(options);

        withSerdeConsumerProperties(true, options, keySchema, properties);
        withSerdeConsumerProperties(false, options, valueSchema, properties);

        return properties;
    }
@Test
    public void when_consumerProperties_jsonPropertyIsDefined_then_itsNotOverwritten() {
        // key
        Map<String, String> keyOptions = Map.of(
                OPTION_KEY_FORMAT, JSON_FLAT_FORMAT,
                KEY_DESERIALIZER, "deserializer"
        );

        assertThat(resolveConsumerProperties(keyOptions))
                .containsExactlyEntriesOf(Map.of(KEY_DESERIALIZER, "deserializer"));

        // value
        Map<String, String> valueOptions = Map.of(
                OPTION_KEY_FORMAT, UNKNOWN_FORMAT,
                OPTION_VALUE_FORMAT, JSON_FLAT_FORMAT,
                VALUE_DESERIALIZER, "deserializer"
        );

        assertThat(resolveConsumerProperties(valueOptions))
                .containsExactlyEntriesOf(Map.of(VALUE_DESERIALIZER, "deserializer"));
    }