Skip to content

Commit 7ee31bd

Browse files
Update README.md
Add Maven dependency tags for both v1 and v2 Java SDK support.
1 parent 2861f22 commit 7ee31bd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ It saves the actual payload in S3 and publishes the reference of the stored S3 o
99
* **Sign up for AWS** -- Before you begin, you need an AWS account. For more information about creating an AWS account, see [create and activate aws account](https://aws.amazon.com/premiumsupport/knowledge-center/create-and-activate-aws-account/).
1010
* **Minimum requirements** Java 8 (or later) and [Maven 3](http://maven.apache.org/).
1111
* **Download** -- Download the [latest preview release](https://github.com/awslabs/amazon-sns-java-extended-client-lib/releases) or pick it up from Maven:
12+
13+
### Version 2.x (AWS Java SDKv2)
1214
```xml
1315
<dependency>
1416
<groupId>software.amazon.sns</groupId>
@@ -18,6 +20,17 @@ It saves the actual payload in S3 and publishes the reference of the stored S3 o
1820
</dependency>
1921
```
2022

23+
### Version 1.x (AWS Java SDKv1)
24+
```xml
25+
<dependency>
26+
<groupId>software.amazon.sns</groupId>
27+
<artifactId>sns-extended-client</artifactId>
28+
<version>1.1.2</version>
29+
<type>jar</type>
30+
</dependency>
31+
```
32+
33+
2134
## S3 Message Storage Configuration
2235
The library relies on the Payload Offloading Java Common Library for AWS for message storage and retrieval. The following S3 message storage configuration options are available:
2336
* Custom message size threshhold: messages with their payload and attribute size exceeding this limit will automatically be stored in S3. It is also possible to force all messages to be stored in S3.

0 commit comments

Comments
 (0)