Skip to content

add option to send to another sns topic on a per-form basis#1116

Merged
alexluckett merged 1 commit intomainfrom
feature/per-form-sns
Mar 6, 2026
Merged

add option to send to another sns topic on a per-form basis#1116
alexluckett merged 1 commit intomainfrom
feature/per-form-sns

Conversation

@alexluckett
Copy link
Contributor

No description provided.

@alexluckett alexluckett force-pushed the feature/per-form-sns branch from 4b372ff to 7f77c1e Compare March 5, 2026 11:46
@alexluckett alexluckett force-pushed the feature/per-form-sns branch from 51f41ed to f1bf349 Compare March 6, 2026 11:04
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 6, 2026

`Published form adapter event for submission ${validatedPayload.meta.referenceNumber}. MessageId: ${result.MessageId}`
)

const formSpecificTopicArn = snsFormTopicArnMap[validatedPayload.meta.formId]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this not cater for a form sending to multiple additional ARNs, or is it a constraint that a form can only send to one extra ARN?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one for the moment, I think that's a sensible system to have. If they need to fan out they can always create multiple subscriptions to the topic.

@alexluckett alexluckett requested a review from jbarnsley10 March 6, 2026 11:58
@alexluckett alexluckett merged commit ad3ab97 into main Mar 6, 2026
12 checks passed
@alexluckett alexluckett deleted the feature/per-form-sns branch March 6, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants