You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Kafka connection without sources does no regular poll and thus cannot detect whether the broker is available.
This means a Kafka connection with only targets remains open even if Kafka broker is not available.
Such a connection should be marked as "misconfigured".
As it is not possible to detect this state pre-emptively it should be detected at least with the first sent message that times out.
The text was updated successfully, but these errors were encountered:
…PublisherActor.
Until now a Ditto Kafka connection with targets only did not cope properly with the Kafka broker becoming unavailable.
In such cases, publishing timed out and produced appropriate entries in connection log.
Connection live status however, remained always 'open'.
With this commit, a TimeoutException while publishing is handled in a way that a ConnectionFailure is propagated to parent BaseClientActor.
This sets connection live status to 'misconfigured' and triggers reconnect with back-off semantic.
Thus, a potentially unavailable Kafka broker gets appropriately reflected by connection status.
Signed-off-by: Juergen Fickel <juergen.fickel@bosch.io>
A Kafka connection without sources does no regular poll and thus cannot detect whether the broker is available.
This means a Kafka connection with only targets remains open even if Kafka broker is not available.
Such a connection should be marked as "misconfigured".
As it is not possible to detect this state pre-emptively it should be detected at least with the first sent message that times out.
The text was updated successfully, but these errors were encountered: