activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Message repetition consumption:Four consumers consume the same queue message, with two consumers receiving the same message at the same time, receiving a gap of 1ms
Date Mon, 11 Sep 2017 18:10:18 GMT
By using LevelDB, you're using an unsupported configuration. You have four
options:

1. Switch to a supported persistent store as I suggested.
2. Keep using LevelDB and live with this behavior.
3. Keep using LevelDB and use the source code to figure out yourself what's
wrong, and then fix it yourself if it's LevelDB-specific. (If it turns out
to be something not related to LevelDB, you could either fix it yourself or
submit a bug for one of us to fix it.)
4. Keep using LevelDB and hope that someone who knows LevelDB and can
figure out your problem will respond to your post. This is possible, but
extremely unlikely based on past track record.

Good luck,
Tim

On Sep 11, 2017 8:05 AM, "youngzil" <youngzil@163.com> wrote:

> hi,
> I confirm is two the same message, because their message id is the same,
> is not only the message content is the same, there is no test of other ways
> to store, because my way is to use a zookeeper + leveldb deployment, when
> because of dirty data, leading to the master node and slave node frequent
> switching, there will be a lot of this kind of duplicate messages, four
> consumers, two or three, even four consumer receives the message with the
> same message id, and the receiving time difference about 1 ms
>
>
> 原始邮件
> 发件人:Tim Baintbain@alumni.duke.edu
> 收件人:ActiveMQ Usersusers@activemq.apache.org
> 发送时间:2017年9月11日(周一) 21:51
> 主题:Re: Message repetition consumption:Four consumers consume the same
> queue message, with two consumers receiving the same message at the same
> time, receiving a gap of 1ms
>
>
> Also, I'd want to know if the two messages had the same JMSMessageID (i.e.
> were they the same message, or were they two different messages with the
> same content). On Sep 11, 2017 7:50 AM, "Tim Bain" tbain@alumni.duke.edu
> wrote:  Do you see the same behavior if you switch to KahaDB or JDBC? As
> Tim Bish  said on that JIRA bug, LevelDB is no longer supported, so you're
> only going  to get a fix if you can demonstrate that it's still a problem
> if you switch  to one of the supported store types.   Tim   On Sep 11, 2017
> 7:05 AM, "youngzil" youngzil@163.com wrote:   hi,all:  Does anyone have
> this problem:  Summary: Message repetition consumption:Four consumers
> consume the same  queue message, with two consumers receiving the same
> message at the same  time, receiving a gap of 1ms Key: AMQ-6807 URL:
> https://issues.apache.org/jira/browse/AMQ-6807  broker version:5.13.2
> Deployment way:zookeeper+levelDB,A master with two slave。

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message