kaliop-uk / kueueingbundle-sqs Goto Github PK
View Code? Open in Web Editor NEWKaliop Queueing Bundle - Amazon SQS plugin
License: GNU General Public License v2.0
Kaliop Queueing Bundle - Amazon SQS plugin
License: GNU General Public License v2.0
In the Consumer class, the logic that checks the amount of consumed messages does not work for the case where there are no messages in the queue.
In that case, if no timeout has been specified, the method will return immediately. It seems to assume that the API call to SQS is blocking...
Reproduced with php 5.6, Sf 2.8, aws-sdk-php 3.96.0: running the consumer process does leak memory, unless we add here and there a call to gc_collect_cycles()
.
It would be nice to be able to define the configuration of a queue and let the bundle create it automatically, just as we can do for the rabbitmq bundle...
(tested using ElasticMQ as surrogate of SQS, but this probably applies as well to the real thing)
Running a consumer process with a timeout of, say, 60 secs, will result in a fatal error.
This is due to the fact that we pass the consumer-timeout down to the AWS API call as WaitTimeSeconds parameter which
A better logic is probably to decouple the WaitTimeSeconds parameter from the timeout parameter gotten from the Consumer command
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.