BePPPower commented on code in PR #15175: URL: https://github.com/apache/doris/pull/15175#discussion_r1053018984
########## be/src/runtime/routine_load/data_consumer_group.cpp: ########## @@ -96,8 +96,8 @@ Status KafkaDataConsumerGroup::start_all(StreamLoadContext* ctx) { int64_t left_rows = ctx->max_batch_rows; int64_t left_bytes = ctx->max_batch_size; - std::shared_ptr<KafkaConsumerPipe> kafka_pipe = - std::static_pointer_cast<KafkaConsumerPipe>(ctx->body_sink); + std::shared_ptr<io::KafkaConsumerPipeReader> kafka_pipe = Review Comment: Maybe we can not use `KafkaConsumerPipe` because a class named `KafkaConsumerPipe` already exists. ########## be/src/runtime/routine_load/data_consumer_group.cpp: ########## @@ -96,8 +96,8 @@ Status KafkaDataConsumerGroup::start_all(StreamLoadContext* ctx) { int64_t left_rows = ctx->max_batch_rows; int64_t left_bytes = ctx->max_batch_size; - std::shared_ptr<KafkaConsumerPipe> kafka_pipe = - std::static_pointer_cast<KafkaConsumerPipe>(ctx->body_sink); + std::shared_ptr<io::KafkaConsumerPipeReader> kafka_pipe = Review Comment: done -- 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