Giter Club home page Giter Club logo

Comments (5)

jondot avatar jondot commented on August 17, 2024

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.

kamal-github avatar kamal-github commented on August 17, 2024

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.

michaelklishin avatar michaelklishin commented on August 17, 2024

@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.

kamal-github avatar kamal-github commented on August 17, 2024

@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.

akram71093 avatar akram71093 commented on August 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.