0

I am new to Apache Storm. I have currently done word-count problem. Currently my data source (file containing words) is in my local system. But now i need this file to be in external system. i.e. if i tell ip of external system and path to file, then is there way that my application will get data from that file (remotely located)?

Matthias J. Sax
  • 59,682
  • 7
  • 117
  • 137
user2823345
  • 91
  • 1
  • 2
  • 8

1 Answers1

0

One option is to feed your file to MongoDB and let your spout pull the file from MongoDB. Have a look at Storm Mongo. But please keep in mind the size of your file. You don't want to transfer huge files as 'tuples'.

Chiron
  • 20,081
  • 17
  • 81
  • 133