Package com.taobao.metamorphosis.server.store

Examples of com.taobao.metamorphosis.server.store.MessageStore$SegmentList


            final String consumersPath, final int brokerId, final List<String> consumers,
            final List<RecoverPartition> recoverParts) throws IOException {
        // ����topic,partition,consumer
        for (final RecoverPartition recoverPartition : recoverParts) {
            try {
                final MessageStore store =
                        storeManager.getOrCreateMessageStore(recoverPartition.topic, recoverPartition.partition);
                if (store == null) {
                    log.warn("Could not find partition:" + recoverPartition);
                    continue;
                }
                final List<SegmentInfo> segmentInfos = store.getSegmentInfos();
                if (segmentInfos.isEmpty()) {
                    log.warn("Partition:" + recoverPartition + " is empty");
                    continue;
                }
                // offset��Ϣ���ϣ�����msgId��С����
View Full Code Here

TOP

Related Classes of com.taobao.metamorphosis.server.store.MessageStore$SegmentList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.