Skip to content

Commit

Permalink
Update a default partition.assignment.strategy to match Kafka 3.x.x d…
Browse files Browse the repository at this point in the history
…efault
  • Loading branch information
Z1kkurat committed Nov 13, 2023
1 parent cbdc095 commit ba997a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final case class ConsumerConfig(
heartbeatInterval: FiniteDuration = 3.seconds,
autoCommit: Boolean = true,
autoCommitInterval: Option[FiniteDuration] = None,
partitionAssignmentStrategy: String = "org.apache.kafka.clients.consumer.RangeAssignor",
partitionAssignmentStrategy: String = "org.apache.kafka.clients.consumer.RangeAssignor,org.apache.kafka.clients.consumer.CooperativeStickyAssignor",
autoOffsetReset: AutoOffsetReset = AutoOffsetReset.Latest,
defaultApiTimeout: FiniteDuration = 1.minute,
fetchMinBytes: Int = 1,
Expand Down

0 comments on commit ba997a8

Please sign in to comment.