Github user vesense commented on a diff in the pull request: https://github.com/apache/storm/pull/1230#discussion_r57995833 --- Diff: external/storm-mongodb/src/main/java/org/apache/storm/mongodb/bolt/MongoInsertBolt.java --- @@ -99,6 +107,29 @@ public MongoInsertBolt withOrdered(boolean ordered) { return this; } + public MongoInsertBolt withFlushIntervalSecs(int flushIntervalSecs) { + this.flushIntervalSecs = flushIntervalSecs; + return this; + } + + @Override + public Map<String, Object> getComponentConfiguration() { + Map<String, Object> conf = super.getComponentConfiguration(); + if (conf == null) { + conf = new Config(); + } + + if (conf.containsKey(Config.TOPOLOGY_MESSAGE_TIMEOUT_SECS) && flushIntervalSecs == 0) { --- End diff -- @HeartSaVioR I find that `storm-solr` has the same bug as you stated. And I filed a JIRA(https://issues.apache.org/jira/browse/STORM-1669) for that. Maybe this fix should be included in Storm 1.0 release.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---