So, in one of our kafka topic, there's close to 100 GB of data. We are running spark-structured streaming to get the data in S3
When the data is upto 10GB, streaming runs fine and we are able to get the data in S3. But with 100GB, it is taking forever to stream the data in kafka.
Question: How does spark-streaming reads data from Kafka? Does it take the entire data from current offset? Or does it take in batch of some size?