7

I have a CustomReceiver which receives a single event(String).The received single event is used during spark application's run time to read data from nosql and to apply transformations.When the processing time for each batch was observed to be greater than batch interval I set this property.

spark.streaming.backpressure.enabled=true

After which I expected the CustomReceiver to not trigger and receive the event when a batch is processing longer than batch window, which didn't happen and still a backlog of batches were being added. Am I missing something here?

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
darkknight444
  • 546
  • 8
  • 21

1 Answers1

4

Try to check this and this articles.

Eugene Lopatkin
  • 2,351
  • 1
  • 22
  • 34