[ https://issues.apache.org/jira/browse/CAMEL-7632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073667#comment-14073667 ]
ASF GitHub Bot commented on CAMEL-7632: --------------------------------------- GitHub user dmitrimedvedev opened a pull request: https://github.com/apache/camel/pull/226 CAMEL-7632: Add streaming mode to camel-splunk consumer You can merge this pull request into a Git repository by running: $ git pull https://github.com/dmitrimedvedev/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/226.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #226 ---- commit 7e4b5e9b206c7a969e6012d9afa40ac7024ee515 Author: dmitrimedvedev <dmitri.medve...@gmail.com> Date: 2014-07-22T21:33:27Z Add streaming mode to SplunkConsumer commit f7063f760f5abf867fa2a6bbbd187220c941fa00 Author: dmitrimedvedev <dmitri.medve...@gmail.com> Date: 2014-07-23T16:44:20Z No need to set BATCH header ---- > Add streaming mode to camel-splunk consumer > ------------------------------------------- > > Key: CAMEL-7632 > URL: https://issues.apache.org/jira/browse/CAMEL-7632 > Project: Camel > Issue Type: New Feature > Reporter: Dmitri Medvedev > Priority: Minor > > camel-splunk consumer runs out of memory when splunk resultset is large. > This is because it accumulates all results in an array list before returning > them. > One possible way to address this is to add streaming support to the component. > Here is the patch for streaming mode: > https://github.com/dmitrimedvedev/camel/commit/7e4b5e9b206c7a969e6012d9afa40ac7024ee515 > https://github.com/dmitrimedvedev/camel/commit/f7063f760f5abf867fa2a6bbbd187220c941fa00 -- This message was sent by Atlassian JIRA (v6.2#6252)