Questions tagged [bunny]

Bunny is an easy to use RabbitMQ Ruby client.

Bunny is an easy to use RabbitMQ Ruby client.

RabbitMQ messaging enables cross-platform software applications to connect and scale. Applications can connect to each other, as components of a larger application, or to user devices and data. Messaging is asynchronous, decoupling applications by separating sending and receiving data.

Sources:

91 questions
0
votes
2 answers

What is the correct date format for x-stream-offset for the RabbitMQ Streaming Plugin?

Bunny keeps giving me an error that I believe is being sent back from RabbitMQ that the following strings are invalid date formats: invalid: ISO8601 timestamp string milliseconds Integer YYYY-MM-DD string Unix Time or Epoch Time integer…
alilland
  • 2,039
  • 1
  • 21
  • 42
0
votes
1 answer

Is it possible that we can run sneakers along with web server?

I can use rake sneakers:run it work perfect. but can I run sneakers along with web server without running separate command (rake sneakers:run)
0
votes
1 answer

Having only write rights to queue with Bunny gem

I use the Bunny gem and configured a user in RabbitMQ like this: virtual host / configure: device1\..* write: .* read: device1\..* The goal is: the user should be able to create a queue named like this: device1.mail and should be…
rept
  • 2,086
  • 1
  • 26
  • 44
0
votes
0 answers

Configuration issue with rabbitMQ and sneakers

I have two applications sap1 and sap2 and i have been using rabbitMQ (bunny gem) for messaging, so that is working like from sap1 i will create the message and publish sap1 (publisher app) Gemfile ruby 1.9.3 gem 'bunny', '~> 1.7', '>=…
Developer
  • 561
  • 7
  • 29
0
votes
1 answer

amqp rabbitmq configuration to run a ruby script by using docker run command

I am trying to run a ruby script for backend services by using docker run command. Adding CMD ["./bin/ruby_code_name"] in Dockerfile Running docker run -it --name=containerName --rm testimage command after building the image. it shows the…
Cherry
  • 971
  • 1
  • 10
  • 20
0
votes
2 answers

How to push messages from unacked to ready

My question is similar to a question asked previously, however it does not find an answer, I have a Consumer which I want to process an action called a Web Service, however, if this web service does not respond for some reason, I want the consumer…
0
votes
2 answers

Ruby on Rails Bunny Gem for RabbitMQ

I cannot figure out how to subscribe to my RabbitMQ locally(it worked when I used CloudAMPQ.) I suspect the problem is that my SendPriceJob isn't connected to the right connection/channel/exchange but I'm not certain. I have a worker that fetches…
PrimeTimeTran
  • 1,807
  • 2
  • 17
  • 29
0
votes
1 answer

Wait until message producer receives confirmation of work having finished by consumer

Using Ruby's "bunny" RabbitMQ client, I want my producer (some Ruby code) to send a message to a consumer (a worker using the "sneakers" gem), and I want my producer to not execute another line of its Ruby code until the producer receives…
Jackson
  • 9,188
  • 6
  • 52
  • 77
0
votes
0 answers

RabbitMQ not sending messages to consumer with round robin

I have a Ruby app that acts as producer, something like this: class PostNotificationService class << self def call(notification) queue = channel.queue('adyen_notifications', auto_delete: false) exchanger =…
Luiz E.
  • 6,769
  • 10
  • 58
  • 98
0
votes
1 answer

RabbitMQ subscription limit the number of messages to pre fetch

I am using rabbitmq to communicate between microservices written in ruby on rails. Each service subscribes to a topic. All services are scaled and run as multiple instances based on need. During subscription bunny moves all the messages from the…
Muthukumar
  • 8,679
  • 17
  • 61
  • 86
0
votes
1 answer

RabbitMQ keeps stacking unacked messages although they are rejected or acknowledged

My Ruby code below processes RabbitMQ events. I'm using Bunny for Ruby and the sneakers gem. Although I think I'm acting on all possible events, the local channels are getting stacked with unacked messages. This happens every time the log says…
Tom
  • 9,275
  • 25
  • 89
  • 147
0
votes
1 answer

RabbitMq(bunny): Rabbitmq deleting message from queue . acknowledgement not working

I am processing records from my rabbitMQ. in order to avoid loss of messages from rabbitMQ i am using rabbitMQ acknowledgment strategey. For testing purpose i have raises the exception just before the code where i gave acknowledgment back to the…
Sanjay Salunkhe
  • 2,665
  • 5
  • 28
  • 52
0
votes
1 answer

RabbitMq: Message lost from queue when exceptions occurred during message processing

I am ruby on rails developer. i am using rabbitMQ in my project to processed some data as soon as the data comes in queue. i am using bunny gem a rabbitMQ client that provide interface to interact with RabbitMq. My issue is that whenever an…
Sanjay Salunkhe
  • 2,665
  • 5
  • 28
  • 52
0
votes
1 answer

Using bunny, how to set x-max-length when connecting to existing queue

I've got the following ruby function to connect to an existing rabbit queue with a max_length value of 10000 def self.send(settings, event_str) conn = Bunny.new( hostname: settings['host'], username: settings['user'], …
Travis Bear
  • 13,039
  • 7
  • 42
  • 51
0
votes
2 answers

check status of RabbitMQ, whether message is published?

I have one resque job which is run at some event which finally publishes the message to RabbitMQ's exchange, how can I check in bunny(Rabbit MQ ruby client) that whether the message has been successfully published? Using Acknowledgment or any way?…
kamal
  • 996
  • 15
  • 25