Skip to content

Commit

Permalink
RestrictedConsumer: correct deprecation since version (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored Sep 8, 2020
1 parent 89b116b commit e250df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/akka/kafka/RestrictedConsumer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class RestrictedConsumer(consumer: Consumer[_, _], duration: java.time.Dur
* See [[org.apache.kafka.clients.consumer.KafkaConsumer#committed(TopicPartition,java.time.Duration)]]
*/
@silent
@deprecated("use `committed(java.util.Set[TopicPartition])`", "2.1.0")
@deprecated("use `committed(java.util.Set[TopicPartition])`", "2.0.5")
def committed(tp: TopicPartition): OffsetAndMetadata = consumer.committed(tp, duration)

/**
Expand Down

0 comments on commit e250df6

Please sign in to comment.