lollipopjin commented on code in PR #9256:
URL: https://github.com/apache/rocketmq/pull/9256#discussion_r2053689106


##########
store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueue.java:
##########
@@ -28,27 +28,29 @@
 import org.apache.rocketmq.store.ConsumeQueue;
 import org.apache.rocketmq.store.DispatchRequest;
 import org.apache.rocketmq.store.MessageFilter;
-import org.apache.rocketmq.store.MessageStore;
+import org.apache.rocketmq.store.config.MessageStoreConfig;
 import org.rocksdb.RocksDBException;
 
 public class RocksDBConsumeQueue implements ConsumeQueueInterface {
     private static final Logger log = 
LoggerFactory.getLogger(LoggerName.STORE_LOGGER_NAME);
     private static final Logger ERROR_LOG = 
LoggerFactory.getLogger(LoggerName.STORE_ERROR_LOGGER_NAME);
 
-    private final MessageStore messageStore;
+    private final MessageStoreConfig messageStoreConfig;
+    private final RocksDBConsumeQueueStore consumeQueueStore;
     private final String topic;
     private final int queueId;
 
-    public RocksDBConsumeQueue(final MessageStore messageStore, final String 
topic, final int queueId) {
-        this.messageStore = messageStore;
+    public RocksDBConsumeQueue(final MessageStoreConfig messageStoreConfig,
+        final RocksDBConsumeQueueStore consumeQueueStore,
+        final String topic, final int queueId) {
+        this.messageStoreConfig = messageStoreConfig;
+        this.consumeQueueStore = consumeQueueStore;
         this.topic = topic;
         this.queueId = queueId;
     }
 
     public RocksDBConsumeQueue(final String topic, final int queueId) {

Review Comment:
   This construct function is  only used for passing params.



-- 
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...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to