flink-http-connector icon indicating copy to clipboard operation
flink-http-connector copied to clipboard

Implement lookup retry mechanism

Open grzegorz8 opened this issue 1 year ago • 0 comments

Currently, when HTTP request fails, Optional.empty() is returned. Instead, we should retry the request configurable number of times. In addition, we should distinguish retryable errors from non-retryable ones (e.g. 400 Bad Request vs 503 Service Unavailable).

Flink already provides org.apache.flink.table.connector.source.lookup.LookupOptions#MAX_RETRIES.

grzegorz8 avatar Aug 31 '24 12:08 grzegorz8