xy720 commented on code in PR #9164: URL: https://github.com/apache/incubator-doris/pull/9164#discussion_r858567367
########## 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: Ok. Now the task will fail in get_consumer_grp method if the size of begin_offset is equal to 0. -- 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