You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2018/01/31 10:44:00 UTC
[jira] [Commented] (KARAF-5587) Appender should create client in
the send method instead of the activate
[ https://issues.apache.org/jira/browse/KARAF-5587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346580#comment-16346580 ]
Christian Schneider commented on KARAF-5587:
--------------------------------------------
I agree we need to be able to reconnect on failures. On the other hand we should not create a new client for every call.
> Appender should create client in the send method instead of the activate
> ------------------------------------------------------------------------
>
> Key: KARAF-5587
> URL: https://issues.apache.org/jira/browse/KARAF-5587
> Project: Karaf
> Issue Type: Bug
> Components: decanter
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Blocker
> Fix For: decanter-2.0.0
>
>
> For instance, the elasticsearch appender creates the client in the activate method. If the client fails for any reason (connection timeout, etc), it's not possible to send data anymore.
> The appenders should create such client in the send method to be able to reconnect at next call.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)