<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm able to persist messages to Riak now but I'm trying to figure out how to return a proper sequence ID from publish/3.<div><br></div><div>What's the easiest way to implement this sequence ID that won't cause things to explode? :) Would an in-memory counter that starts at 1 all the time be sufficient? Or do I need to keep track of that by persisting some kind of metadata? It looks like variable_queue uses rabbit_queue_index, which I wasn't sure if I would be able to simply scab onto.<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Palatino; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Courier"><br class="Apple-interchange-newline">Thanks!</font></div><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Courier"><br class="webkit-block-placeholder"></font></div><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Courier">Jon Brisbin</font></div><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Courier"><br></font></div><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Courier"> Web: <a href="http://jbrisbin.com/">http://jbrisbin.com/</a></font></div><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Courier"> Twitter: @j_brisbin</font></div><div style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" face="Courier"> Skype: jon.brisbin</font></div></span>
</div>
<br></div></body></html>