-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MONGO sink is inserting without use config for create collection like expiration_date #2156
Comments
Mongo sink: ( fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMongoSink.java Lines 288 to 289 in bb2b344
STH sink fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSISTHSink.java Lines 375 to 376 in bb2b344
Since cygnus 2.10: |
My first approach to fix this issue would be delete first try-catch block fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMongoSink.java Lines 287 to 290 in bb2b344
Since list collection introduces the same load which try create collection each time. |
Fixed in PR #2157 |
Since mongo is able to insert even if collection does not exist (then mongo creates it) create collecction methods of mongo sinks where expiration date and others are especified are not applying.
The text was updated successfully, but these errors were encountered: