XNX02 commented on code in PR #16229:
URL: https://github.com/apache/iotdb/pull/16229#discussion_r2291613260


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/source/mqtt/MQTTSource.java:
##########
@@ -86,6 +95,45 @@ public void validate(final PipeParameterValidator validator) 
throws Exception {
             
PipeSourceConstant.EXTERNAL_EXTRACTOR_SINGLE_INSTANCE_PER_NODE_DEFAULT_VALUE)) {
       throw new PipeParameterNotValidException("single mode should be true in 
MQTT extractor");
     }
+

Review Comment:
   Could we just pre-check port using socket.bind and pre-check data path using 
file.canWrite()?



-- 
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