Hi Matthias, Thank you for the review and the suggestion. Considering at most 3 parameters to the constructor of TopologyTestDriver and topology being required parameter, we can definitely add a new constructor `TopologyTestDriver(Topology, Instant)` . Right now, I see one test where we can use this constructor: https://github.com/apache/kafka/blob/trunk/streams/src/test/java/org/apache/kafka/streams/kstream/internals/KStreamTransformTest.java#L80-L83 Also we can get rid of this method in TestDriver trait: https://github.com/apache/kafka/blob/trunk/streams/streams-scala/src/test/scala/org/apache/kafka/streams/scala/utils/TestDriver.scala#L32-L35 which is used in multiple test classes and seems redundant. I agree with your suggestion. Thanks, Rohit
On Tue, Nov 3, 2020 at 3:19 PM Matthias J. Sax <mj...@apache.org> wrote: > Thanks for the KIP Rohit. > > Wondering, if we should also add `TopologyTestDriver(Topology, > Instant)`? Not totally sure, as having too many overload could also be > annoying. > > > -Matthias > > On 11/3/20 10:02 AM, Rohit Deshpande wrote: > > Hello all, > > I have created KIP-680: TopologyTestDriver should not require a > Properties > > argument. > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-680%3A+TopologyTestDriver+should+not+require+a+Properties+argument > > > > Jira for the KIP: > > https://issues.apache.org/jira/browse/KAFKA-10629 > > > > If we end up making changes, they will look like this: > > https://github.com/apache/kafka/compare/trunk...rohitrmd:KAFKA-10629 > > > > Please have a look and let me know what you think. > > > > Thanks, > > Rohit > > >