Member since
08-26-2016
3
Posts
1
Kudos Received
0
Solutions
08-29-2016
03:08 PM
Great article. I'm trying to read the data from MongoDB based on incremental value. There is field called CreationDate in the database which has timestamp at which the record is being written. I want to read the data create in previous 1 min. When I tried the following queries in GetMongo "query" property, I see the warning button on the process indicating invalid. {'creationDate': { $gte: new Date(ISODate().getTime()) - 1 * 60 * 1000}} OR {'creationDate': { $gte: ISODate().getTime() - 1 * 60 * 1000}} When I left the query property blank, then the Nifi is reading the entire table every time it runs. Your response will be very much appreciated.
... View more