Spark Streaming Kafka Batch Size Calculator Spark Streaming Kafka Batch Size Calculator Used to calculate the Spark Streaming Kafka Batch Size. Spark Shuffle Partition Generator Spark Streaming Kafka Batch Size Configuration Number of Kafka Partitions: Batch Duration (seconds): Max Rate Per Partition (records/sec): Maximum Kafka Messages to Fetch per Batch is