'spark streaming taking more time to execute one batch

my spark streaming streaming job taking long time to execute only one batch. the number records count for MicrobatchScan is increasing , but please suggest how to split the processing into multiple batches .



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source