[rabbitmq-discuss] extremely long and weird delivery tag in amqp.js consumer

Jianhui Zhang jhzhang.email at gmail.com
Fri Jan 10 19:09:45 GMT 2014


Hi,

We are using amqp.js library to consume messages from rabbitmq. But when we
log the delivery tag, we found them extremely long and weird (aren't they
supposed to be a long int?). For example:

"deliveryTag":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":1,"length":8,"parent":{"0":60,"1":33,"2":68,"3":79,"4":67,"5":84,"6":89,"7":80,"8":69,"9":
>
> 32,"10":104,"11":116,"12":109,"13":108,"14":62,"15":10,"16":60,"17":33,"18":45,"19":45,"20":91,"21":105,"22":102,"23":32,"24":108,"25":116,"26":32,"27":73,"28":
>
> 69,"29":32,"30":55,"31":93,"32":62,"33":32,"34":32,"35":32,"36":32,"37":32,"38":32,"39":60,"40":104,"41":116,"42":109,"43":108,"44":32,"45":99,"46":108,"47":97,
>
> "48":115,"49":115,"50":61,"51":34,"52":110,"53":111,"54":45,"55":106,"56":115,"57":32,"58":108,"59":116,"60":45,"61":105,"62":101,"63":57,"64":32,"65":108,"66":
>
> 116,"67":45,"68":105,"69":101,"70":56,"71":32,"72":108,"73":116,"74":45,"75":105,"76":101,"77":55,"78":34,"79":62,"80":32,"81":60,"82":33,"83":91,"84":101,"85":
>
> 110,"86":100,"87":105,"88":102,"89":93,"90":45,"91":45,"92":62,"93":10,"94":60,"95":33,"96":45,"97":45,"98":91,"99":105,"100":102,"101":32,"102":73,"103":69,"10
>
> 4":32,"105":55,"106":93,"107":62,"108":32,"109":32,"110":32,"111":32,"112":32,"113":32,"114":32,"115":32,"116":32,"117":60,"118":104,"119":116,"120":109,"121":1
>
> 08,"122":32,"123":99,"124":108,"125":97,"126":115,"127":115,"128":61,"129":34,"130":110,"131":111,"132":45,"133":106,"134":115,"135":32,"136":108,"137":116,"138
>
> ":45,"139":105,"140":101,"141":57,"142":32,"143":108,"144":116,"145":45,"146":105,"147":101,"148":56,"149":34,"150":62,"151":32,"152":60,"153":33,"154":91,"155"
>
> :101,"156":110,"157":100,"158":105,"159":102,"160":93,"161":45,"162":45,"163":62,"164":10,"165":60,"166":33,"167":45,"168":45,"169":91,"170":105,"171":102,"172"
>
> :32,"173":73,"174":69,"175":32,"176":56,"177":93,"178":62,"179":32,"180":32,"181":32,"182":32,"183":32,"184":32,"185":32,"186":32,"187":32,"188":60,"189":104,"1
>
> 90":116,"191":109,"192":108,"193":32,"194":99,"195":108,"196":97,"197":115,"198":115,"199":61,"200":34,"201":110,"202":111,"203":45,"204":106,"205":115,"206":32
>
> ,"207":108,"208":116,"209":45,"210":105,"211":101,"212":57,"213":34,"214":62,"215":32,"216":60,"217":33,"218":91,"219":101,"220":110,"221":100,"222":105,"223":1
>
> 02,"224":93,"225":45,"226":45,"227":62,"228":10,"229":60,"230":33,"231":45,"232":45,"233":91,"234":105,"235":102,"236":32,"237":103,"238":116,"239":32,"240":73,
>
> "241":69,"242":32,"243":56,"244":93,"245":62,"246":60,"247":33,"248":45,"249":45,"250":62,"251":32,"252":60,"253":104,"254":116,"255":109,"256":108,"257":32,"25
>
> 8":99,"259":108,"260":97,"261":115,"262":115,"263":61,"264":34,"265":110,"266":111,"267":45,"268":106,"269":115,"270":34,"271":62,"272":32,"273":60,"274":33,"27
>
> 5":45,"276":45,"277":60,"278":33,"279":91,"280":101,"281":110,"282":100,"283":105,"284":102,"285":93,"286":45,"287":45,"288":62,"289":10,"290":9,"291":60,"292":
>
> 104,"293":101,"294":97,"295":100,"296":62,"297":10,"298":32,"299":32,"300":32,"301":32,"302":60,"303":109,"304":101,"305":116,"306":97,"307":32,"308":104,"309":
>
> 116,"310":116,"311":112,"312":45,"313":101,"314":113,"315":117,"316":105,"317":118,"318":61,"319":226,"320":128,"321":157,"322":67,"323":97,"324":99,"325":104,"
>
> 326":101,"327":45,"328":99,"329":111,"330":110,"331":116,"332":114,"333":111,"334":108,"335":226,"336":128,"337":157,"338":32,"339":99,"340":111,"341":110,"342"
>
> :116,"343":101,"344":110,"345":116,"346":61,"347":226,"348":128,"349":157,"350":109,"351":117,"352":115,"353":116,"354":45,"355":114,"356":101,"357":118,"358":9
>
> 7,"359":108,"360":105,"361":100,"362":97,"363":116,"364":101,"365":226,"366":128,"367":157,"368":62,"369":10,"370":9,"371":9,"372":60,"373":109,"374":101,"375":
>
> 116,"376":97,"377":32,"378":99,"379":104,"380":97,"381":114,"382":115,"383":101,"384":116,"385":61,"386":34,"387":117,"388":116,"389":102,"390":45,"391":56,"392
>
> ":34,"393":62,"394":10,"395":9,"396":60,"397":33,"398":45,"399":45,"400":10,"401":9,"402":9,"403":65,"404":108,"405":119,"406":97,"407":121,"408":115,"409":32,"
> 410":102,"411":111,"412":11 …..
>

Has anybody seen this? And what's the cause for it?

Thank you very much in advance.
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140110/500cd826/attachment.html>


More information about the rabbitmq-discuss mailing list