Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bplommer committed Mar 15, 2022
1 parent f53a656 commit 5aa90d7
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions modules/core/src/test/scala/fs2/kafka/KafkaConsumerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ import cats.effect.unsafe.implicits.global
import fs2.Stream
import fs2.concurrent.SignallingRef
import fs2.kafka.internal.converters.collection._
import org.apache.kafka.clients.consumer.{ConsumerConfig, CooperativeStickyAssignor, NoOffsetForPartitionException}
import org.apache.kafka.clients.consumer.{
ConsumerConfig,
CooperativeStickyAssignor,
NoOffsetForPartitionException
}
import org.apache.kafka.common.TopicPartition
import org.apache.kafka.common.errors.TimeoutException
import org.scalatest.Assertion
Expand Down Expand Up @@ -559,7 +563,9 @@ final class KafkaConsumerSpec extends BaseKafkaSpec {
.stream(
consumerSettings[IO]
.withProperties(
ConsumerConfig.PARTITION_ASSIGNMENT_STRATEGY_CONFIG -> classOf[CooperativeStickyAssignor].getName
ConsumerConfig.PARTITION_ASSIGNMENT_STRATEGY_CONFIG -> classOf[
CooperativeStickyAssignor
].getName
)
)
.subscribeTo(topic)
Expand Down Expand Up @@ -801,9 +807,10 @@ final class KafkaConsumerSpec extends BaseKafkaSpec {
.stream(
consumerSettings[IO]
.withProperties(
ConsumerConfig.PARTITION_ASSIGNMENT_STRATEGY_CONFIG -> classOf[CooperativeStickyAssignor].getName
ConsumerConfig.PARTITION_ASSIGNMENT_STRATEGY_CONFIG -> classOf[
CooperativeStickyAssignor
].getName
)

)
.subscribeTo(topic)
.evalMap { consumer =>
Expand Down

0 comments on commit 5aa90d7

Please sign in to comment.