noi-techpark / bdp-core

Open Data Hub / Timeseries Core
https://opendatahub.com
Other
9 stars 4 forks source link

As a developer I want to be sure that the dc-interface retries to push data X times on failure #258

Open dulvui opened 1 year ago

dulvui commented 1 year ago

Currently when pushing data from a data collector sometimes a WebClientRequestException gets thrown and the push simply fails, by throwing the Exception. I suggest to implement a logic in the dc-interface itself, that retries the push X times before throwing the exception. X could be 3 or more. So we don't need to change logic in all data collectors, but simply update the dc-interface to the newest version.

Solving it on writer site might also fix the problem: https://github.com/reactor/reactor-netty/issues/1764