Skip to content

Commit

Permalink
update dependencies (#1590)
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington authored Dec 6, 2023
2 parents bad944e + 4bd98dc commit 794b325
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,11 @@ class SubscribeApi(
.via(new WebSocketSessionManager(streamMeta, register, subscribe))
.flatMapMerge(Int.MaxValue, msg => msg)
.groupedWithin(batchSize, 1.second)
.statefulMapConcat { () =>
// Re-use the stream to reduce allocations
val baos = new ByteArrayOutputStream()

{ seq =>
List(BinaryMessage(LwcMessages.encodeBatch(seq, baos)))
}
}
.statefulMap(() => new ByteArrayOutputStream())(
(baos, seq) => baos -> List(BinaryMessage(LwcMessages.encodeBatch(seq, baos))),
_ => None
)
.mapConcat(identity)
.watchTermination() { (_, f) =>
f.onComplete {
case Success(_) =>
Expand Down
18 changes: 9 additions & 9 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import sbt._

object Dependencies {
object Versions {
val pekko = "1.0.1"
val pekko = "1.0.2"
val pekkoHttpV = "1.0.0"
val iep = "5.0.14"
val jackson = "2.15.3"
val log4j = "2.21.1"
val iep = "5.0.15"
val jackson = "2.16.0"
val log4j = "2.22.0"
val scala = "2.13.12"
val slf4j = "1.7.36"
val spectator = "1.7.2"
val spring = "6.0.13"
val spectator = "1.7.4"
val spring = "6.1.1"

val crossScala = Seq(scala)
}
Expand All @@ -29,7 +29,7 @@ object Dependencies {
val pekkoTestkit = "org.apache.pekko" %% "pekko-testkit" % pekko
val caffeine = "com.github.ben-manes.caffeine" % "caffeine" % "3.1.8"
val datasketches = "org.apache.datasketches" % "datasketches-java" % "4.2.0"
val equalsVerifier = "nl.jqno.equalsverifier" % "equalsverifier" % "3.15.3"
val equalsVerifier = "nl.jqno.equalsverifier" % "equalsverifier" % "3.15.4"
val iepLeaderApi = "com.netflix.iep" % "iep-leader-api" % iep
val iepLeaderDynamoDb = "com.netflix.iep" % "iep-leader-dynamodb" % iep
val iepDynConfig = "com.netflix.iep" % "iep-dynconfig" % iep
Expand All @@ -51,8 +51,8 @@ object Dependencies {
val log4jJul = "org.apache.logging.log4j" % "log4j-jul" % log4j
val log4jSlf4j = "org.apache.logging.log4j" % "log4j-slf4j-impl" % log4j
val munit = "org.scalameta" %% "munit" % "0.7.29"
val postgres = "org.postgresql" % "postgresql" % "42.6.0"
val postgresEmbedded = "io.zonky.test" % "embedded-postgres" % "2.0.4"
val postgres = "org.postgresql" % "postgresql" % "42.7.1"
val postgresEmbedded = "io.zonky.test" % "embedded-postgres" % "2.0.6"
val roaringBitmap = "org.roaringbitmap" % "RoaringBitmap" % "1.0.0"
val scalaCompat = "org.scala-lang.modules" %% "scala-collection-compat" % "2.11.0"
val scalaCompatJdk8 = "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2"
Expand Down

0 comments on commit 794b325

Please sign in to comment.