Unfortunately it can't right now, see 
https://github.com/mozilla-services/heka/blob/versions/0.10/sandbox/plugins/sandbox_output.go#L130.

Ideally you'd be able to return different error codes to distinguish between a 
failure that should be retried and a failure that shouldn't, but that work has 
not yet been done.

-r


On 12/04/2015 12:52 AM, Udara Chathuranga wrote:
Hi,
Thank you for the quick response. In
http://hekad.readthedocs.org/en/v0.10.0b2/buffering.html#buffering it says,

"A plugin is responsible for notifying the queue buffer when a message
has been processed by calling an UpdateCursor method on the PluginRunner"

How can the sandbox plugin can put the message back to queue via sandbox
plugin?

regards,
Udara Chathuranga


On Fri, Dec 4, 2015 at 12:16 PM, Rob Miller <[email protected]
<mailto:[email protected]>> wrote:

    In the v0.10.0 series ,currently at beta2, all filters and outputs
    support buffering. You specify `use_buffering = true` and add a
    `buffering` section, as described here:

    
http://hekad.readthedocs.org/en/v0.10.0b2/config/outputs/index.html#common-output-parameters

    and here:

    http://hekad.readthedocs.org/en/v0.10.0b2/buffering.html#buffering

    -r



    On 12/03/2015 07:31 PM, Udara Chathuranga wrote:

        Hi guys,

        Is it possible to use buffering along with sandbox output? If so
        can you
        point me in right direction on how to configure it properly?

        Regards,
        udara


        _______________________________________________
        Heka mailing list
        [email protected] <mailto:[email protected]>
        https://mail.mozilla.org/listinfo/heka




_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to