I am looking for an option to store the swift messages(MT101) in hdfs or nonsql database. Can we use python in spark to store it in mongo DB? Please let me know if somebody worked on a similair requirement
Asked
Active
Viewed 802 times
0
-
If python is not requirement, here is how you would do it on IBM Bluemix to connect to Mongodb Lab using Scala. https://github.com/charles2588/bluemixsparknotebooks/blob/master/mongodb_sparkConnection.ipynb – charles gomes Mar 18 '16 at 06:24
1 Answers
0
If you are willing to use Java in your solution, this model in the Prowide Core library is intended for MT persistence. The message is stored in raw format with metadata:
It is intended for JPA in relational databases but you could work around it to have a similar structure in Mongo DB.

Sebastian Zubrinic
- 700
- 7
- 16