[ https://issues.apache.org/jira/browse/SPARK-49259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot reassigned SPARK-49259: -------------------------------------- Assignee: (was: Apache Spark) > Size based partition creation during kafka read > ----------------------------------------------- > > Key: SPARK-49259 > URL: https://issues.apache.org/jira/browse/SPARK-49259 > Project: Spark > Issue Type: Improvement > Components: Structured Streaming > Affects Versions: 4.0.0 > Reporter: Subham Singhal > Priority: Minor > Labels: pull-request-available > > Currently Spark + kafka structured streaming provides *minPartitions* config > to create more number of partitions than kafka has. This is helpful to > increase parallelism but this value is can not be changed dynamically. > It would be better to dynamically increase spark partitions based on input > size, if input size is high create more partitions. We can take *avg msg > size* and *maxBytesPerPartition* as input and dynamically create partitions > to handle varying loads. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org