Comments (5)
Hi, I'm not aware of any messages getting lost either in testing, or in production either in my own deployment or others running Sneakers.
Are you sure there's nothing related to networking that you are bumping into?
from sneakers.
Hey I am also facing the same issue, After getting 4 messages, now i can see the fifth message in queue in RabbitMQ plugin management, but sneaker is not consuming it.
require 'sneakers'
Sneakers.configure heartbeat: 5,
amqp: ENV['RABBITMQ'] || 'amqp://*****:****@localhost:5672/',
workers: 1,
timeout_job_after: 60,
threads: 5,
prefetch: 5,
after_fork: Proc.new { ActiveRecord::Base.establish_connection },
durable: true
Sneakers.logger.level = Logger::INFO
from sneakers.
@kamal-github you can inspect channels, their QoS prefetch value, and how many messages are pending acknowledgement in the management UI. See RabbitMQ tutorial 2 if something isn't clear.
from sneakers.
@michaelklishin Is there any limit like if no acknowledgment coming of messages to RabbitMQ, either sneakers stop consuming or Rabbit deny giving it to Sneakers?
Also, I saw management UI, channel has prefetch value = 5 and pending acknowledgement = 0
from sneakers.
@kamal-github Hello, did you solve this issue ? I am facing the same issue that always two messages are not received by sneakers but are available in rabbitmq. If i have 1 worker then the first two messages are not received, the third one is received and then the next two are not received and so on
from sneakers.
Related Issues (20)
- What is the plan for 2.13.0? HOT 23
- Getting this error while trying to drive watir within my workers HOT 2
- Sneaker close connection with Rabbit after hours inactivity, HOT 5
- If there is a `@` in RabbitMQ password, you may have an `Unexpected error bad URI`. HOT 2
- Is still actively maintained? HOT 7
- Messages not sent from rabbitmq to sneakers
- Is there some potential issues if setting single worker but multi-thread in prd env? HOT 2
- Infinity restart when errors happens inside of hooks
- Stops "ack!"ing after 10 messages HOT 2
- Channels not recovering after server restart HOT 4
- Ruby 3.2.0 File#exists? HOT 1
- Memory leak HOT 2
- Consumer thread interrupt HOT 4
- Rails 7.0.4.2 - NoMethodError: undefined method `autoloader' for #<Rails::Application::Configuration... HOT 2
- too many accepting and closing AMQP connections in the rabbitmq server logs HOT 1
- Dead letter queue consumption issue HOT 2
- How to Inject code into worker initialization?
- Documentation not very clear on how to handle DB connections when using the gem in a Rails application HOT 2
- Channel shared between threads for MaxRetry handler
- Using up disk space
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sneakers.