pengxiangyu commented on code in PR #9164:
URL: https://github.com/apache/incubator-doris/pull/9164#discussion_r859414107


##########
be/src/runtime/routine_load/data_consumer_pool.cpp:
##########
@@ -68,11 +68,17 @@ Status 
DataConsumerPool::get_consumer_grp(StreamLoadContext* ctx,
     }
     DCHECK(ctx->kafka_info);
 
+    if (ctx->kafka_info->begin_offset.size() == 0) {
+        return Status::InternalError(

Review Comment:
   This is not an error, if a pipe has not data for a long time, it will write 
a lot of error logs.
   Check it before call get_consumer_grp maybe better. Otherwise check return 
value and don't write warning log each time.



-- 
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-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to