Hi Folks,
Now that we’re blogging again I thought I might as well continue to do so.
Today we’re reading data from MongoDB with Pentaho Data Integration. We haven’t had a lot of requests for MongoDB support so there is no step to read from it yet. However, it is surprisingly simple to do with the “User Defined Java Class” step.
For the following sample to work you need to be on a recent 4.2.0-M1 build. Get it from here.
Then download mongo-2.4.jar and put it in the libext/ folder of your PDI/Kettle distribution.
Then you can read from a collection with the following “User Defined Java Class” code:
import java.math.*; import java.util.*; import …[Read more]