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


##########
be/src/runtime/routine_load/data_consumer_pool.cpp:
##########
@@ -67,12 +67,18 @@ Status 
DataConsumerPool::get_consumer_grp(StreamLoadContext* ctx,
                 "PAUSE: Currently only support consumer group for Kafka data 
source");
     }
     DCHECK(ctx->kafka_info);
+    DCHECK(ctx->kafka_info->begin_offset.size() > 0);

Review Comment:
   `DCHECK` means it must `> 0`;
   So there should not be `consumer_num < 1`.
   
   Why the begin offset is empty? Is it normal?



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