GH-671 - Deprecate AWS SNS and SQS integration modules.

In favor of the implementations now available in Spring Cloud AWS [0].

[0] https://github.com/awspring/spring-cloud-aws/releases/tag/v3.2.0
This commit is contained in:
Marcin Słowiak
2024-09-21 12:36:31 +02:00
committed by Oliver Drotbohm
parent e0b79e5fb1
commit 0ea5f326db
3 changed files with 22 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ class SnsEventExternalizerConfiguration {
logger.debug("Registering domain event externalization to SNS…");
logger.warn("""
The module 'spring-modulith-events-aws-sns' is deprecated since the version 1.3 of Spring Modulith.
To continue using AWS SNS integration, migrate to 'io.awspring.cloud:spring-cloud-aws-modulith-events-sns'.
""");
var context = new StandardEvaluationContext();
context.setBeanResolver(new BeanFactoryResolver(factory));

View File

@@ -58,6 +58,11 @@ class SqsEventExternalizerConfiguration {
logger.debug("Registering domain event externalization to SQS…");
logger.warn("""
The module 'spring-modulith-events-aws-sqs' is deprecated since the version 1.3 of Spring Modulith.
To continue using AWS SQS integration, migrate to 'io.awspring.cloud:spring-cloud-aws-modulith-events-sqs'.
""");
var context = new StandardEvaluationContext();
context.setBeanResolver(new BeanFactoryResolver(factory));

View File

@@ -172,6 +172,18 @@ a|* `spring-modulith-docs`
|`spring-modulith-observability`|`runtime`|Observability infrastructure described <<observability, here>>.
|===
[appendix]
[[deprecated-modules]]
== Deprecated modules
.Deprecated modules table
[cols="2,1,3", options="header, unbreakable"]
|===
|Module|Deprecated since|Description
|`spring-modulith-events-aws-sns`|`1.3`|Please migrate to `io.awspring.cloud:spring-cloud-aws-modulith-events-sns`. See https://github.com/awspring/spring-cloud-aws/tree/main/spring-cloud-aws-sns[this link]
|`spring-modulith-events-aws-sqs`|`1.3`|Please migrate to `io.awspring.cloud:spring-cloud-aws-modulith-events-sqs`. See https://github.com/awspring/spring-cloud-aws/tree/main/spring-cloud-aws-sqs[this link]
|===
[appendix]
[[schemas]]
== Event publication registry schemas