[ 
https://issues.apache.org/jira/browse/KAFKA-9335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007101#comment-17007101
 ] 

Boyang Chen commented on KAFKA-9335:
------------------------------------

Thanks for the report [~nitay.k]. Could you be more specific about the 
reproducing process, for example:


 # Does this reproduce on local env?
 # How many topic partitions we need to configure for each input and output 
topic?
 # Do we need data flowing into the input topic when running this example?
 # Does this only fail for 2.3.1 -> 2.4 upgrade? At least, does 2.2 and 2.3 
could also reproduce issue with this example?

> java.lang.IllegalArgumentException: Number of partitions must be at least 1.
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-9335
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9335
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 2.4.0
>            Reporter: Nitay Kufert
>            Priority: Major
>              Labels: bug
>
> Hey,
> When trying to upgrade our Kafka streams client to 2.4.0 (from 2.3.1) we 
> encountered the following exception: 
> {code:java}
> java.lang.IllegalArgumentException: Number of partitions must be at least 1.
> {code}
> It's important to notice that the exact same code works just fine at 2.3.1.
>  
> I have created a "toy" example which reproduces this exception:
> [https://gist.github.com/nitayk/50da33b7bcce19ad0a7f8244d309cb8f]
> and I would love to get some insight regarding why its happening / ways to 
> get around it
>  
> Thanks



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to