I am receiving the streaming data myDStream
(DStream[String]
) that I want to save in S3 (basically, for this question, it doesn\'t matter where exa
AFAIK there is no option to save it as a file. Because it's a distributed processing framework and it's not a good practice write on single file rather than each partition writes it's own files in the specified path.
We can pass only output directory where we wanted to save the data. OutputWriter will create file(s)(depends on partitions) inside specified path with
part-
file name prefix.