liaoxin01 commented on code in PR #32126: URL: https://github.com/apache/doris/pull/32126#discussion_r1521781323
########## be/src/runtime/routine_load/data_consumer_pool.cpp: ########## @@ -87,7 +87,8 @@ Status DataConsumerPool::get_consumer_grp(std::shared_ptr<StreamLoadContext> ctx return Status::InternalError("PAUSE: The size of begin_offset of task should not be 0."); } - std::shared_ptr<KafkaDataConsumerGroup> grp = std::make_shared<KafkaDataConsumerGroup>(); + std::shared_ptr<KafkaDataConsumerGroup> grp = + std::make_shared<KafkaDataConsumerGroup>(ctx->kafka_info->begin_offset.size()); Review Comment: `std::shared_ptr<KafkaDataConsumerGroup> grp = std::make_shared<KafkaDataConsumerGroup>(consumer_num); ` put this after line 95. -- 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