-
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
Task/add config option persist errors #1930
Conversation
@@ -1,2 +1,3 @@ | |||
[cygnus-common][SQLBackendImpl] Add configuration option to persist errors in SQL sinks (#1928) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to the existing functionality for PG?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just make it optional by config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. NTC
@@ -197,7 +197,8 @@ cygnus-ngsi.sinks.postgresql-sink.type = com.telefonica.iot.cygnus.sinks.NGSIPos | |||
#cygnus-ngsi.sinks.postgresql-sink.batch_timeout = 30 | |||
# number of retries upon persistence error | |||
#cygnus-ngsi.sinks.postgresql-sink.batch_ttl = 10 | |||
|
|||
# true if errors are persisted for this sink, false otherwise | |||
#cygnus-ngsi.sinks.postgresql-sink.persist_errors = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there are per-sink docu tables with the allowed parameters. Maybe persiste_errors should be added to all them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
issue #1928