-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 消息支持精准offset搜索 2 重试&死消息支持offset搜索 3 客户端异常发送到负责人 4 支持消息重发审核 5 消费者消费消息重试时间从默认15分钟扩大至2小时 6 优化部分UI 7 消息时间查询扩展为任意时间段 8 增加死消息队列展示 9 消息展示支持xml
- Loading branch information
yongfeigao
committed
Dec 7, 2018
1 parent
70bb9eb
commit e193834
Showing
107 changed files
with
2,418 additions
and
797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ | |
public class Version { | ||
|
||
public static String get() { | ||
return "1.2.RELEASE"; | ||
return "1.3.RELEASE"; | ||
} | ||
} |
239 changes: 0 additions & 239 deletions
239
mq-client-common-open/src/test/java/com/sohu/tv/mq/util/SerializerTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
mq-client-open/src/test/java/com/sohu/tv/mq/rocketmq/RocketMQConsumerJsonTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.sohu.tv.mq.rocketmq; | ||
|
||
import java.util.concurrent.atomic.AtomicLong; | ||
|
||
import org.apache.rocketmq.common.message.MessageExt; | ||
import org.junit.After; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
import com.sohu.index.tv.mq.common.ConsumerCallback; | ||
|
||
public class RocketMQConsumerJsonTest { | ||
|
||
private AtomicLong counter = new AtomicLong(); | ||
|
||
private RocketMQConsumer consumer; | ||
|
||
@Before | ||
public void init() { | ||
consumer = TestUtil.buildConsumer("mqcloud-test-topic-consumer", "mqcloud-test-topic"); | ||
} | ||
|
||
@Test | ||
public void test() throws InterruptedException { | ||
consumer.setConsumerCallback(new ConsumerCallback<String, MessageExt>() { | ||
public void call(String t, MessageExt k) throws Exception { | ||
System.out.println(t); | ||
} | ||
}); | ||
consumer.start(); | ||
while (true) { | ||
System.out.println(counter.get()); | ||
Thread.sleep(1000); | ||
} | ||
} | ||
|
||
@After | ||
public void clean() { | ||
consumer.shutdown(); | ||
} | ||
} |
Oops, something went wrong.