mjsax opened a new pull request, #14548: URL: https://github.com/apache/kafka/pull/14548
This is a POC to refactor `StreamsConfig` to move "leaking" internal methods into a newly added subclass `InternalStreamsConfig`, following an already established pattern using for DSL config objects (like `Consumed`, `Produced`, `Materialized` etc). This change requires a KIP. We would deprecate the following methods on `StreamsConfig` to be able to remove them w/o replacement, as we should consider them internal: - `confgDef` - `getMainConsumerConfig` - `getRestoreConsumeConfig` - `getGlobalConsumerConfig` - `getProducerConfig` - `getAdminConfig` - `getClientTag` - `getKafkaClientSupplier` - `defaultKeySerde` - `defaultValueSerde` - `defaultTimestampExtractor` - `defaultDeserializationHandler` - `defaultProductionExceptionHandler` - `main` In addition, this PR changes all internal usage from `StreamsConfig` to `InternalStreamsConfig`. If we believe this is a reasonable change, I can prepare a KIP for it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org