It adds a new trait LakeWriter.WithHandledErrors which similar to what we did here in BigQuery Loader. It means we can use the same nice pattern of writing unit tests for this class. In follow up work we can extend WithHandledErrors to manage the retry logic and reporting setup errors to a webhook.
This PR follows the same style of health probe we did in BigQuery Loader v2 and in Snowflake Loader.
It adds a new trait
LakeWriter.WithHandledErrors
which similar to what we did here in BigQuery Loader. It means we can use the same nice pattern of writing unit tests for this class. In follow up work we can extendWithHandledErrors
to manage the retry logic and reporting setup errors to a webhook.