Spark custom streaming dropping most of the data
问题 I'm following the example for spark streaming using customer receiver as given in the spark site available at Spark customer receiver. However, the job seems to drop most my data. Whatever the amount of data I stream, it is successfully received at the consumer. However, when I do any map/ flatmap operations on it, I just see 10 rows of data. This is always the case no matter how much data I stream. I have modified this program to read from ActiveMQ queue. If I look at ActiveMQ web interface,