Conversation
src/sinks/eventbridge.js
Outdated
|
|
||
| return { | ||
| ...batchUow, | ||
| [publishRequestField]: endpointId ? /* istanbul ignore next */ { |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
| .map((uow) => uow[publishRequestEntryField]), | ||
| ...(endpointId && { | ||
| EndpointId: endpointId, | ||
| }), |
There was a problem hiding this comment.
- jumping thru a hoop here with this condition to keep unit tests backwards compatible
- otherwise it will be necessary to assert
EndpointId: undefinedin many tests
|
If we're in the middle of a failover and the publishing is failing, is that considered a retryable error? So in theory it would bypass faulting and retry until the failover is complete and we can continue publishing to the global EB? |
|
No description provided.