[zeromq-dev] zeromq-dev Digest, Vol 96, Issue 3

vivek viek vieksmiles at gmail.com
Thu Dec 3 19:38:49 CET 2015


Hi,

I agree with you. In my case I'll receive thrice d same message. And our
use case is at any condition we shouldn't receive duplicate message. I
think I've to edit the code in titanic.java class but I'm not sure where to
edit. Or I might be completely wrong. Can you please help me out in this..?

Thanks,
Vivek
On Dec 3, 2015 4:30 PM, <zeromq-dev-request at lists.zeromq.org> wrote:

> Send zeromq-dev mailing list submissions to
>         zeromq-dev at lists.zeromq.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> or, via email, send a message with subject or body 'help' to
>         zeromq-dev-request at lists.zeromq.org
>
> You can reach the person managing the list at
>         zeromq-dev-owner at lists.zeromq.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of zeromq-dev digest..."
>
>
> Today's Topics:
>
>    1. Re: Receiving duplicate messages in titanic pattern..?
>       (Doron Somech)
>    2. IPv6 link local address (Sathish_Yenna at Dell.com)
>    3. Deployer access to zeromq.org on OSSRH repository (Jeremy Miller)
>    4. Re: IPv6 link local address (Pieter Hintjens)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 2 Dec 2015 13:31:53 +0200
> From: Doron Somech <somdoron at gmail.com>
> Subject: Re: [zeromq-dev] Receiving duplicate messages in titanic
>         pattern..?
> To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
> Message-ID:
>         <CAB814uG232UM9Ag+ia7v4LbcGkP_cXYyN9N7f3tx382ydOY=
> jA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> That is actually normal. Search the part in the guide about idempotency. In
> a nut shell, there are 3 levels of reliability:
>
> * Maximum once
> * At least once
> * Once
>
> Maximum once is the default of zeromq, you just send a message, it will be
> delivered once at maximum.
> Titanic is at least once, so it is guaranteed (almost) that the message
> will be delivered, so it is ok you got it twice.
> Once - complicated and have performance penalty, anyway read the guide
> about idempotency.
>
>
>
> On Wed, Dec 2, 2015 at 12:06 PM, vivek viek <vieksmiles at gmail.com> wrote:
>
> > Hi,
> >
> >
> >
> > I'm working on zeromq titanic pattern using the link
> > https://github.com/zeromq/jeromq3-x/tree/master/src/test/java/guide.
> I've
> > used mdbroker.java,mdworker.java,titanic,mdclient classes. I will start
> > broker then titanic then worker sequencially and later I'll send some
> > messages from client class. I will receive same no of messages as client
> > sends.
> >
> >
> >
> > Now I will shutdown worker and i will send one message from client and I
> > will restart worker, here i will receive duplicate messages(twice).
> >
> >
> >
> > Please help me I tried a lot by changes variable(retries) but still I
> > receive duplicate messages..?why its behaving so.. Is there anything I'm
> > doing wrong??
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151202/3a976809/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 2 Dec 2015 22:09:13 +0000
> From: <Sathish_Yenna at Dell.com>
> Subject: [zeromq-dev] IPv6 link local address
> To: <zeromq-dev at lists.zeromq.org>
> Message-ID:
>         <1c40552ca9e64051ab7a342c15abd21a at ausx13mpc110.AMER.DELL.COM>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear ZeroMQ developers,
>
> I have an application in development which uses ZeroMQ library to
> communicate over IPv6 link local network. I have run into issues with IPv6
> link local address handling in the ZeroMQ library (v4.1.2). The interface
> name/index which is required for IPv6 link local addresses is not allowed
> in the address passed to the library. So, I have come up with a patch that
> accepts the interface name and handles the link local address properly.
>
> Please find the attached patch file (based on 4.1.2 version) for the exact
> changes. The changes are limited to two files (tcp_address.cpp and
> socket_base.cpp). I would like you to consider these changes, so ZeroMQ
> will work for IPv6 link local addresses as well.
>
> Thanks,
> Sathish Yenna
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151202/1b56df3e/attachment-0001.htm
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: zmq_ipv6_linklocal.patch
> Type: application/octet-stream
> Size: 3405 bytes
> Desc: zmq_ipv6_linklocal.patch
> Url :
> http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151202/1b56df3e/attachment-0001.obj
>
> ------------------------------
>
> Message: 3
> Date: Wed, 2 Dec 2015 22:23:44 +0000
> From: Jeremy Miller <mjeremym at gmail.com>
> Subject: [zeromq-dev] Deployer access to zeromq.org on OSSRH
>         repository
> To: zeromq-dev at lists.zeromq.org
> Message-ID: <8C39E250-0326-43C9-ACCB-EA5931C642EF at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I want to deploy an additional JAR into the zeromq.org group in Maven
> central (using OSSRH as per jeromq).
>
> To do this, someone who already has deployer access need to add a comment
> to the JIRA
>
> https://issues.sonatype.org/browse/OSSRH-19218
>
> regards
> Jeremy
>
> ------------------------------
>
> Message: 4
> Date: Thu, 3 Dec 2015 00:04:25 +0100
> From: Pieter Hintjens <ph at imatix.com>
> Subject: Re: [zeromq-dev] IPv6 link local address
> To: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
> Message-ID:
>         <
> CADL5_sgbOpJct5nuZYfeWkPG71K-BAWwo3tNRimuod0XQwWkHQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi Sathish, thanks for the patch. We work with pull requests, see
> http://zeromq.org/docs:contributing.
>
> So if you send this via a github pull request, we can merge and try it.
> Thanks.
>
> -Pieter
>
> On Wed, Dec 2, 2015 at 11:09 PM,  <Sathish_Yenna at dell.com> wrote:
> > Dear ZeroMQ developers,
> >
> >
> >
> > I have an application in development which uses ZeroMQ library to
> > communicate over IPv6 link local network. I have run into issues with
> IPv6
> > link local address handling in the ZeroMQ library (v4.1.2). The interface
> > name/index which is required for IPv6 link local addresses is not
> allowed in
> > the address passed to the library. So, I have come up with a patch that
> > accepts the interface name and handles the link local address properly.
> >
> >
> >
> > Please find the attached patch file (based on 4.1.2 version) for the
> exact
> > changes. The changes are limited to two files (tcp_address.cpp and
> > socket_base.cpp). I would like you to consider these changes, so ZeroMQ
> will
> > work for IPv6 link local addresses as well.
> >
> >
> >
> > Thanks,
> >
> > Sathish Yenna
> >
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
>
>
> ------------------------------
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
> End of zeromq-dev Digest, Vol 96, Issue 3
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151204/859b9f23/attachment.htm>


More information about the zeromq-dev mailing list