pjfanning commented on code in PR #363: URL: https://github.com/apache/pekko-connectors-kafka/pull/363#discussion_r2353132657
########## core/src/main/scala/org/apache/pekko/kafka/scaladsl/SendProducer.scala: ########## @@ -106,7 +106,17 @@ final class SendProducer[K, V] private (val settings: ProducerSettings[K, V], sy } object SendProducer { + + @deprecated("use create method instead", "1.2.0") def apply[K, V](settings: ProducerSettings[K, V])(implicit system: ClassicActorSystemProvider): SendProducer[K, V] = + create(settings) + + /** + * Utility class for producing to Kafka without using Apache Pekko Streams. + * Every Producer will create a new Kafka Producer instance under the hood. + * @param settings producer settings used to create or access the [[org.apache.kafka.clients.producer.Producer]] + */ Review Comment: `@since 1.2.0` on new methods -- 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