[ 
https://issues.apache.org/jira/browse/KAFKA-19594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herman Kolstad Jakobsen updated KAFKA-19594:
--------------------------------------------
    Description: 
The TopologyTestDriver is great for writing fast and reliable tests for Streams 
applications. However, a shortcoming of the TopologyTestDriver is that it only 
supports topics with one partition, therefore making it difficult to test that 
data has been correctly partitioned throughout the entire topology. This is 
especially relevant for topologies utilizing PAPI, where the user has to manage 
the partitioning of the data.

A simple starting point could be to keep the current fully synchronous 
execution for a single input event, just with a TestInputTopic that supports a 
“Partitioner”.

  was:
The TopologyTestDriver is great for writing fast and reliable tests for Streams 
applications. However, a shortcoming of the TopologyTestDriver is that it only 
supports topics with one partition, and thus making it difficult to test that 
data has been correctly partitioned throughout the entire topology. This is 
especially relevant for topologies utilizing PAPI, where the user has to manage 
the partitioning of the data.

A simple starting point could be to keep the current fully synchronous 
execution for a single input event, just with a TestInputTopic that supports a 
“Partitioner”.


> Multiple partition topic support for TopologyTestDriver
> -------------------------------------------------------
>
>                 Key: KAFKA-19594
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19594
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Herman Kolstad Jakobsen
>            Priority: Minor
>
> The TopologyTestDriver is great for writing fast and reliable tests for 
> Streams applications. However, a shortcoming of the TopologyTestDriver is 
> that it only supports topics with one partition, therefore making it 
> difficult to test that data has been correctly partitioned throughout the 
> entire topology. This is especially relevant for topologies utilizing PAPI, 
> where the user has to manage the partitioning of the data.
> A simple starting point could be to keep the current fully synchronous 
> execution for a single input event, just with a TestInputTopic that supports 
> a “Partitioner”.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to