Github user DT-Priyanka commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/227#discussion_r58838149
--- Diff:
contrib/src/main/java/com/datatorrent/contrib/cassandra/CassandraPOJOOutputOperator.java
---
@@ -260,6 +292,17 @@ protected Statement
setStatementParameters(PreparedStatement updateCommand, Obje
return boundStmnt;
}
+ @Override
+ public void processTuple(Object tuple)
+ {
+ try {
+ super.processTuple(tuple);
+ recordsProcessed++;
+ } catch (RuntimeException e) {
+ //super.error.emit(tuple);
--- End diff --
copying relevant code from #215 to remove dependency.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---