pjfanning commented on code in PR #296:
URL: 
https://github.com/apache/pekko-connectors-kafka/pull/296#discussion_r2014163513


##########
core/src/main/scala/org/apache/pekko/kafka/RestrictedConsumer.scala:
##########
@@ -43,12 +43,6 @@ final class RestrictedConsumer(consumer: Consumer[_, _], 
duration: java.time.Dur
   def commitSync(offsets: java.util.Map[TopicPartition, OffsetAndMetadata]): 
Unit =
     consumer.commitSync(offsets, duration)
 
-  /**
-   * See 
[[org.apache.kafka.clients.consumer.KafkaConsumer#committed(TopicPartition,java.time.Duration)]]
-   */
-  @deprecated("use `committed(java.util.Set[TopicPartition])`", "Alpakka Kafka 
2.0.5")
-  def committed(tp: TopicPartition): OffsetAndMetadata = 
consumer.committed(tp, duration)

Review Comment:
   method removed from Kafka 4.0.0



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to