Hello Andre,

On Sat, Aug 15, 2015 at 4:35 PM, Andre <andre-li...@fucs.org> wrote:

> Hi there,
>
> I was reading the HTTP Output and had a few questions:
>
> * Is the HTTP Output aware of the response being provided by the HTTP
> server at the other end of a TCP session? (i.e. will the server treat
> a 500 as a non-delivered message or would it eliminate from the
> buffer?)
>

IIUC the code [1][2], HTTP response codes greater than or equal to 400 will
cause the plugin to retry the request later.

[1]
https://github.com/mozilla-services/heka/blob/v0.10.0b1/plugins/http/http_output.go#L113
[2]
https://github.com/mozilla-services/heka/blob/v0.10.0b1/plugins/http/http_output.go#L152


>
> * The documentation states:
>
> "This output doesn’t support any request batching; each received
> message will generate an HTTP request. Batching can be achieved by use
> of a filter plugin that accumulates message data, periodically
> emitting a single message containing the batched, encoded HTTP request
> data in the payload."
>
> Am I correct to assume the filter plugin needs to be written by the
> heka user using Lua (sandboxed) or Go (plugin)?
>

Yes.

HTH,

Simon


>
>
> I thank you in advance
> _______________________________________________
> Heka mailing list
> Heka@mozilla.org
> https://mail.mozilla.org/listinfo/heka
>
_______________________________________________
Heka mailing list
Heka@mozilla.org
https://mail.mozilla.org/listinfo/heka

Reply via email to