Skip to content

Commit 7721d9d

Browse files
committed
Bump version and fix minor issues
1 parent 9e47c12 commit 7721d9d

File tree

10 files changed

+16
-11
lines changed

10 files changed

+16
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exactly this feeling by offering a collection of runnable examples.
3030

3131
### Prerequisites
3232

33-
Java 17 or higher (recommended: [GraalVM JDK 21](https://www.graalvm.org/downloads))
33+
Java 17 or higher (recommended: [GraalVM](https://www.graalvm.org/downloads))
3434

3535
### Installation
3636

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ scalaVersion := "2.13.15"
88

99
val pekkoVersion = "1.1.3"
1010
val pekkoHTTPVersion = "1.1.0"
11-
val pekkoConnectorVersion = "1.0.2"
11+
val pekkoConnectorVersion = "1.1.0"
1212
val pekkoConnectorKafkaVersion = "1.1.0"
1313

1414
val kafkaVersion = "3.8.1"
1515
val activemqVersion = "5.18.5" // We are stuck with 5.x
16-
val artemisVersion = "2.37.0"
16+
val artemisVersion = "2.39.0"
1717
val testContainersVersion = "1.20.4"
1818
val keycloakVersion = "26.0.1"
1919
val sttpVersion = "3.10.1"
@@ -23,7 +23,7 @@ val gatlingVersion = "3.13.1"
2323
val circeVersion = "0.14.8"
2424

2525
libraryDependencies ++= Seq(
26-
"org.scala-lang.modules" %% "scala-parallel-collections" % "1.1.0",
26+
"org.scala-lang.modules" %% "scala-parallel-collections" % "1.2.0",
2727

2828
"org.apache.pekko" %% "pekko-stream" % pekkoVersion,
2929
"org.apache.pekko" %% "pekko-stream-typed" % pekkoVersion,

src/main/scala/alpakka/dynamodb/DynamoDBEcho.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package alpakka.dynamodb
22

33

4-
import com.github.pjfanning.pekkohttpspi.PekkoHttpClient
4+
55
import org.apache.pekko.NotUsed
66
import org.apache.pekko.actor.ActorSystem
7+
import org.apache.pekko.stream.connectors.awsspi.PekkoHttpClient
78
import org.apache.pekko.stream.connectors.dynamodb.scaladsl.DynamoDb
89
import org.apache.pekko.stream.scaladsl.{FlowWithContext, Sink, Source}
910
import org.slf4j.LoggerFactory

src/main/scala/alpakka/env/JMSServerArtemis.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ object JMSServerArtemis extends App {
2929
val port = 21616
3030
val serverUrl = s"tcp://$host:$port"
3131

32+
// Does not run with Java 23, this suggested workaround does not help
33+
// Doc: https://issues.apache.org/jira/browse/ARTEMIS-4975
34+
System.setProperty("java.security.manager", "allow")
35+
3236
val securityConfig = new SecurityConfiguration()
3337
securityConfig.addUser("artemis", "artemis")
3438
securityConfig.addRole("artemis", "guest")

src/main/scala/alpakka/kinesis/FirehoseEcho.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package alpakka.kinesis
22

3-
import com.github.pjfanning.pekkohttpspi.PekkoHttpClient
43
import org.apache.pekko.NotUsed
54
import org.apache.pekko.actor.ActorSystem
65
import org.apache.pekko.stream.Attributes
6+
import org.apache.pekko.stream.connectors.awsspi.PekkoHttpClient
77
import org.apache.pekko.stream.connectors.kinesisfirehose.scaladsl.KinesisFirehoseFlow
88
import org.apache.pekko.stream.connectors.s3.AccessStyle.PathAccessStyle
99
import org.apache.pekko.stream.connectors.s3.scaladsl.S3

src/main/scala/alpakka/kinesis/KinesisEcho.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package alpakka.kinesis
22

3-
import com.github.pjfanning.pekkohttpspi.PekkoHttpClient
3+
44
import org.apache.commons.validator.routines.UrlValidator
55
import org.apache.pekko.NotUsed
66
import org.apache.pekko.actor.ActorSystem
7+
import org.apache.pekko.stream.connectors.awsspi.PekkoHttpClient
78
import org.apache.pekko.stream.connectors.kinesis.scaladsl.{KinesisFlow, KinesisSource}
89
import org.apache.pekko.stream.connectors.kinesis.{KinesisFlowSettings, ShardIterator, ShardSettings}
910
import org.apache.pekko.stream.scaladsl.{Flow, Sink, Source}

src/main/scala/alpakka/sqs/SqsEcho.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package alpakka.sqs
22

3-
import com.github.pjfanning.pekkohttpspi.PekkoHttpClient
43
import org.apache.commons.validator.routines.UrlValidator
54
import org.apache.pekko.actor.ActorSystem
5+
import org.apache.pekko.stream.connectors.awsspi.PekkoHttpClient
66
import org.apache.pekko.stream.connectors.sqs.*
77
import org.apache.pekko.stream.connectors.sqs.scaladsl.{SqsAckSink, SqsPublishSink, SqsSource}
88
import org.apache.pekko.stream.scaladsl.{Flow, Sink, Source}

src/main/scala/sample/stream/PublishToSourceQueueFromMultipleThreads.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ object PublishToSourceQueueFromMultipleThreads extends App {
3636
import system.dispatcher
3737

3838
val bufferSize = 100
39-
// As of akka 2.6.x there is a thread safe implementation for SourceQueue
4039
val maxConcurrentOffers = 1000
4140
val numberOfPublishingClients = 1000
4241

src/main/scala/sample/stream_shared_state/Dedupe.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import scala.util.{Failure, Success}
1010

1111
/**
1212
* Drop identical (consecutive or non-consecutive) elements in an
13-
* unbounded stream using the squbs `Deduplicate` GraphStage:
13+
* unbounded stream using the (re-implemented) squbs `Deduplicate` GraphStage:
1414
* https://squbs.readthedocs.io/en/latest/deduplicate
1515
*
1616
* More general than: [[DeduplicateConsecutiveElements]]

src/main/scala/sample/stream_shared_state/LocalFileCacheCaffeine.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import scala.util.control.NonFatal
2828
* - On downstream error: the path needs to be kept longer in the cache
2929
* - On restart: populate cache from local filesystem
3030
*
31-
* Before running this class: start [[alpakka.env.FileServer]] to simulate non idempotent responses
31+
* Before running this class: start [[alpakka.env.FileServer]] to simulate non-idempotent responses
3232
* Monitor `localFileCache` dir with cmd: watch ls -ltr
3333
*
3434
* Doc:

0 commit comments

Comments
 (0)