karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5587) Appender should create client in the send method instead of the activate
Date Wed, 31 Jan 2018 10:44:00 GMT

    [ 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)

Mime
View raw message