pjfanning commented on PR #296: URL: https://github.com/apache/pekko-connectors-kafka/pull/296#issuecomment-2746134928
upgrade causes compile issues due to API changes ``` [error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/core/src/main/scala/org/apache/pekko/kafka/RestrictedConsumer.scala:50:77: type mismatch; [error] found : org.apache.kafka.common.TopicPartition [error] required: java.util.Set[org.apache.kafka.common.TopicPartition] [error] def committed(tp: TopicPartition): OffsetAndMetadata = consumer.committed(tp, duration) [error] ^ [error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/core/src/main/scala/org/apache/pekko/kafka/RestrictedConsumer.scala:50:67: overloaded method committed with alternatives: [error] (x$1: java.util.Set[org.apache.kafka.common.TopicPartition],x$2: java.time.Duration)java.util.Map[org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata] <and> [error] (x$1: java.util.Set[org.apache.kafka.common.TopicPartition])java.util.Map[org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata] [error] does not match arguments (?, java.time.Duration) with expected result type org.apache.kafka.clients.consumer.OffsetAndMetadata [error] def committed(tp: TopicPartition): OffsetAndMetadata = consumer.committed(tp, duration) [error] ^ [error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/core/src/main/scala/org/apache/pekko/kafka/internal/KafkaConsumerActor.scala:721:74: type mismatch; [error] found : org.apache.kafka.common.TopicPartition [error] required: java.util.Set[org.apache.kafka.common.TopicPartition] [error] @nowarn("cat=deprecation") val offset = consumer.committed(req.partition, settings.getMetadataRequestTimeout) [error] ^ [error] three errors found ``` -- 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