nathanborror / flopsy Goto Github PK
View Code? Open in Web Editor NEWA very simple way to interact with python AMQPlib.
License: BSD 3-Clause "New" or "Revised" License
A very simple way to interact with python AMQPlib.
License: BSD 3-Clause "New" or "Revised" License
I had server code trying send an ack as follows:
self.consumer.channel.basic_ack(stat_data.delivery_tag)
Leading to the following error:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "stats_consumer.py", line 113, in receive_stats
self.consumer.channel.wait()
File "/usr/local/lib/python2.6/dist-packages/amqplib-0.6.1-py2.6.egg/amqplib/client_0_8/abstract_channel.py", line 105, in wait
return amqp_method(self, args)
File "/usr/local/lib/python2.6/dist-packages/amqplib-0.6.1-py2.6.egg/amqplib/client_0_8/channel.py", line 273, in _close
(class_id, method_id))
AMQPChannelException: (406, u'PRECONDITION_FAILED - unknown delivery tag 1', (60, 80), 'Channel.basic_ack')
Turns out that Flopsy has no_ack set to True in the call to basic_consume. Setting it to False fixed the problem.
Just logging this in case anyone else runs into problems.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.