[rabbitmq-discuss] (Lightweight) Publisher Confirms with the pika Python client

Marek Majkowski majek04 at gmail.com
Wed Feb 23 16:40:13 GMT 2011


On Mon, Feb 21, 2011 at 22:42, Mark Aufflick <mark-erlang at aufflick.com> wrote:
> I have seen reference in passing on this list that all clients (except the C
> client) support the lightweight publisher confirms
> (ie. http://www.rabbitmq.com/blog/2011/02/10/introducing-publisher-confirms/).
> I can't quite work out what this means in terms of using the Python pika
> client.

> I'm also wondering if there is
> an easy way to do a blocking publish that waits for the ack/nack and returns
> success/failure.

Achieving it was one of the main reasons to write Puka.
Every publish in Puka can be treated as a synchronous thing,
which can succeed or fail.

Cheers,
  Marek


More information about the rabbitmq-discuss mailing list