Skip to content

[SNSSQS] Write-only broker option#25

Merged
qfornaguera merged 1 commit into
masterfrom
snssqs-write-only-options
May 13, 2025
Merged

[SNSSQS] Write-only broker option#25
qfornaguera merged 1 commit into
masterfrom
snssqs-write-only-options

Conversation

@qfornaguera
Copy link
Copy Markdown
Collaborator

For SNSSQS implementation, current validation of options and use enforces SQS related options configuration even when you do not have any need to subscribe to the topic in a specific component/service using the broker. This is sticky, forcing you to maintain infrastructure and coupling to it in places where you don't need to.

Changed a bit to make it possible to instance a write-only snssqs broker.

I took the liberty of adding a new WithCodec option and making it mandatory. I think that it makes sense when there is that comment at the top of the constructor.

For SNSSQS implementation, current validation of options and use enforces SQS related options configuration even when you do not have any need to subscribe to the topic in a specific component/service using the broker. This is sticky, forcing you to maintain infrastructure and coupling to it in places where you don't need to.

Changed a bit to make it possible to instance a write-only snssqs broker.

I took the liberty of adding a new `WithCodec` option and making it mandatory. I think that it makes sense when there is that comment at the top of the constructor.
@qfornaguera qfornaguera merged commit a3a7acd into master May 13, 2025
1 check passed
@qfornaguera qfornaguera deleted the snssqs-write-only-options branch May 13, 2025 10:20
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.

4 participants