sebastienviale opened a new pull request, #22673: URL: https://github.com/apache/kafka/pull/22673
**Motivation** As part of [KIP-1238: Multi-partition support in TopologyTestDriver](https://cwiki.apache.org/confluence/display/KAFKA/KIP-1238%3A+Multipartition+for+TopologyTestDriver+in+Kafka+Streams), we are introducing a new TopologyTestDriverBuilder API for configuring TopologyTestDriver. This PR is intentionally limited to introducing the builder infrastructure and deprecating the legacy constructors. Follow-up PRs will use the builder to add support for multi-partition testing and other configuration options. **Changes** This PR introduces TopologyTestDriverBuilder and: - adds a builder-based API for creating TopologyTestDriver instances - deprecates the existing TopologyTestDriver constructors in favor of the builder - preserves the behavior of the existing constructors, which continue to work unchanged - keeps the builder functionally equivalent to the existing constructors for now. **Compatibility** This change is fully backward compatible. Existing constructors remain available and continue to behave exactly as before, although they are now deprecated. Users can migrate to the builder API at their own pace. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
