Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
I'm dealing here with a live stream data and at the moment I'm reading the data with nodeJS and growing-file directly from a .csv file. I'm very new to JAVA and I need to figure out who to insert the incoming data directly in mongoDB and to create an event on each new record.
I can think of2 approaches here
1. Use MongoDB GridFS (i.e. com.mongodb.gridfs.GridFS)
2. Convert your (binary data) stream into textual (serialize) format for example Base64 and store it in a mongodb collection.
By the way for nodejs mongodb already have excellent drivers and there are some orms for nodejs as well.
Why are you writing a wrapper in Java?