Skip to content

Commit

Permalink
chore: run scalafmt
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Voiturier <benjamin.voiturier@iohk.io>
  • Loading branch information
bvoiturier committed Nov 20, 2024
1 parent eff93ab commit da843db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.hyperledger.identus.shared.messaging

import org.hyperledger.identus.shared.messaging.kafka.{InMemoryMessagingService, ZKafkaMessagingServiceImpl}
import zio.{Cause, Duration, EnvironmentTag, RIO, RLayer, Scope, Task, URIO, URLayer, ZIO, ZLayer, durationInt}
import zio.{durationInt, Cause, Duration, EnvironmentTag, RIO, RLayer, Scope, Task, URIO, URLayer, ZIO, ZLayer}

import java.time.Instant
trait MessagingService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class InMemoryMessagingService(
]
) extends MessagingService {

override def makeConsumer[K, V](groupId: String)(using kSerde: Serde[K], vSerde: Serde[V]): RIO[Scope, Consumer[K, V]] = {
override def makeConsumer[K, V](
groupId: String
)(using kSerde: Serde[K], vSerde: Serde[V]): RIO[Scope, Consumer[K, V]] = {
ZIO.succeed(new InMemoryConsumer[K, V](groupId, topicQueues, processedMessagesMap))
}

Expand Down

0 comments on commit da843db

Please sign in to comment.