github-actions[bot] commented on code in PR #16996:
URL: https://github.com/apache/doris/pull/16996#discussion_r1113715119


##########
be/src/runtime/routine_load/data_consumer.h:
##########
@@ -109,10 +109,8 @@ class KafkaEventCb : public RdKafka::EventCb {
 
 class KafkaDataConsumer : public DataConsumer {
 public:
-    KafkaDataConsumer(StreamLoadContext* ctx)
-            : DataConsumer(ctx),
-              _brokers(ctx->kafka_info->brokers),
-              _topic(ctx->kafka_info->topic) {}
+    KafkaDataConsumer(std::shared_ptr<StreamLoadContext> ctx)
+            : , _brokers(ctx->kafka_info->brokers), 
_topic(ctx->kafka_info->topic) {}

Review Comment:
   warning: initializer for base class 'doris::DataConsumer' is redundant 
[readability-redundant-member-init]
   
   ```suggestion
               : , _brokers(ctx->kafka_info->brokers), 
_topic(ctx->kafka_info->topic) {}
   ```
   



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