You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/10 10:17:47 UTC

[GitHub] [pulsar] shink commented on a diff in pull request #16003: [feature][pulsar-io-mongo] Add support for full message synchronization

shink commented on code in PR #16003:
URL: https://github.com/apache/pulsar/pull/16003#discussion_r894377258


##########
pulsar-io/mongo/src/main/java/org/apache/pulsar/io/mongodb/MongoSource.java:
##########
@@ -51,19 +52,17 @@
         name = "mongo",
         type = IOType.SOURCE,
         help = "A source connector that sends mongodb documents to pulsar",
-        configClass = MongoConfig.class
+        configClass = MongoSourceConfig.class
 )
 @Slf4j
 public class MongoSource extends PushSource<byte[]> {
 
     private final Supplier<MongoClient> clientProvider;
 
-    private MongoConfig mongoConfig;
+    private MongoSourceConfig mongoSourceConfig;
 
     private MongoClient mongoClient;
 
-    private Thread streamThread;
-

Review Comment:
   It is never used. So I delete 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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

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