HHoflittlefish777 commented on code in PR #32098:
URL: https://github.com/apache/doris/pull/32098#discussion_r1521001467


##########
fe/fe-core/src/main/java/org/apache/doris/load/routineload/KafkaTaskInfo.java:
##########
@@ -86,7 +87,11 @@ public TRoutineLoadTask createRoutineLoadTask() throws 
UserException {
         tKafkaLoadInfo.setTopic(routineLoadJob.getTopic());
         tKafkaLoadInfo.setBrokers(routineLoadJob.getBrokerList());
         tKafkaLoadInfo.setPartitionBeginOffset(partitionIdToOffset);
-        
tKafkaLoadInfo.setProperties(routineLoadJob.getConvertedCustomProperties());
+        Backend backend = Env.getCurrentSystemInfo().getBackend(beId);
+        if (backend == null) {
+            throw new UserException("failed to get be:" + beId + " rack 
because not exist");

Review Comment:
   If backend is null, can we choose other one?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to