Skip to content

Commit

Permalink
Bump aws and localstack versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pbernet committed Apr 19, 2024
1 parent bf49494 commit db107a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ Other noteworthy examples:

Remarks:

* Requires a late JDK 11 because [caffeine 3.x](https://github.com/ben-manes/caffeine/releases) requires it as well
as [ZipCryptoEcho](src/main/scala/alpakka/file/ZipCryptoEcho.scala)
* Java 11 language level is kept, hence run with a late JDK 11
because [caffeine 3.x](https://github.com/ben-manes/caffeine/releases) requires it as well
as [ZipCryptoEcho](src/main/scala/alpakka/file/ZipCryptoEcho.scala). To speed things
up [graalvm-jdk-21](https://www.graalvm.org/downloads) works best.
* Most examples are throttled, so you can see from the console output what is happening
* Some examples deliberately throw `RuntimeException`, so you can observe recovery behaviour
* Using [testcontainers](https://www.testcontainers.org) allows running realistic scenarios (
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/alpakka/kinesis/KinesisEchoIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class KinesisEchoIT {
private static KinesisClient kinesisClient;

@Container
public static LocalStackContainer localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.2"))
public static LocalStackContainer localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.3"))
.withServices(KINESIS)
// Make sure that init_kinesis.sh is executable and has linux line separator (LF)
.withCopyFileToContainer(MountableFile.forClasspathResource("/localstack/init_kinesis.sh", 700), "/etc/localstack/init/ready.d/init_kinesis.sh")
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/alpakka/sqs/SqsEchoIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class SqsEchoIT {
private static final Logger LOGGER = LoggerFactory.getLogger(SqsEchoIT.class);

@Container
public static LocalStackContainer localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.2"))
public static LocalStackContainer localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.3"))
.withServices(SQS)
// https://docs.localstack.cloud/user-guide/aws/sqs/#queue-urls
.withEnv("SQS_ENDPOINT_STRATEGY", "domain")
Expand Down

0 comments on commit db107a1

Please sign in to comment.