huangdx0726 commented on a change in pull request #5635: [Issue 5612]Update Deprecated classes URL: https://github.com/apache/pulsar/pull/5635#discussion_r345570899
########## File path: pulsar-io/mongo/src/main/java/org/apache/pulsar/io/mongodb/MongoSink.java ########## @@ -20,10 +20,7 @@ import com.google.common.collect.Lists; import com.mongodb.MongoBulkWriteException; -import com.mongodb.async.client.MongoClient; -import com.mongodb.async.client.MongoClients; -import com.mongodb.async.client.MongoCollection; -import com.mongodb.async.client.MongoDatabase; +import com.mongodb.reactivestreams.client.*; Review comment: I hava fixed it ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services