Description of changes:
When dynamically adding a stream to an application at runtime with a region that does not align with that of the Kinesis client, log the exception and emit a metric, instead of allowing the exception to propagate and bypass stream syncing logic.
Streams with mismatching regions specified during the construction of the Scheduler will continue to fast-fail.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: N/A.
Description of changes: When dynamically adding a stream to an application at runtime with a region that does not align with that of the Kinesis client, log the exception and emit a metric, instead of allowing the exception to propagate and bypass stream syncing logic. Streams with mismatching regions specified during the construction of the
Scheduler
will continue to fast-fail.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.