poorbarcode commented on code in PR #20698:
URL: https://github.com/apache/pulsar/pull/20698#discussion_r1247902825


##########
pulsar-io/kafka/src/main/java/org/apache/pulsar/io/kafka/KafkaAbstractSource.java:
##########
@@ -64,6 +66,7 @@ public abstract class KafkaAbstractSource<V> extends 
PushSource<V> {
     private volatile boolean running = false;
     private KafkaSourceConfig kafkaSourceConfig;
     private Thread runnerThread;
+    private final Executor executor = Executors.newSingleThreadExecutor();

Review Comment:
   already remove the executor, and just new one thread if needed



##########
pulsar-io/kafka/src/main/java/org/apache/pulsar/io/kafka/KafkaAbstractSource.java:
##########
@@ -64,6 +66,7 @@ public abstract class KafkaAbstractSource<V> extends 
PushSource<V> {
     private volatile boolean running = false;
     private KafkaSourceConfig kafkaSourceConfig;
     private Thread runnerThread;
+    private final Executor executor = Executors.newSingleThreadExecutor();

Review Comment:
   already remove the executor, and just new one thread if needed



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to