Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [bunny]

Bunny is an easy to use RabbitMQ Ruby client.

1 vote
0 answers
14 views

Ruby/Rails Bunny RabbitMQ Must be one of [:method, :headers, :body, :heartbeat]

I get an error when trying to connect to RabbitMQ. Error backtrace: .../amq-protocol-2.3.2/lib/amq/protocol/frame.rb:67:in `decode_header' Error: Must be one of [:method, :headers, :body, :heartbeat] ...
Ammypka's user avatar
  • 11
0 votes
1 answer
47 views

I'm having problems making bunnystream API requests with Vuejs fetch

I need to send a post request to the bunnynet api using fetch in vuejs, for this I need to enter the name of the video in the body part. I want to name the video with the variable I got from the input ...
koovancilar's user avatar
0 votes
1 answer
173 views

Rabbitmq dead letter queue not delaying message

I have setup rabbitmq. I want to retry message after 10 second once they fail. But the way I have setup, the message is not getting delayed, it's coming back to queue immediately. I want to wait 10 ...
r3b00t's user avatar
  • 7,433
1 vote
0 answers
272 views

RabbitMQ - shovel plugin, accessing headers (properties) form Azure Service Bus

I need to implement rabbitMQ as sort of a middleware between Azure service bus and my rails app. The message that is being sent uses headers which i also need to capture. So, is there a way for shovel-...
Jan Mistarz's user avatar
0 votes
1 answer
2k views

upload video to bunny stream with axios

i need to upload video to bunny stream :bunny docs i convert file to base64 as thy do here: upload file: BODY PARAMS if you select js axios as LANGUAGE you'll see the data value set in base64 and this ...
mohammed hamdi's user avatar
1 vote
2 answers
946 views

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 ...
alilland's user avatar
  • 2,445
0 votes
1 answer
193 views

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)
Pakkapong's user avatar
1 vote
1 answer
289 views

Ruby Bunny exchange wait_for_confirm or die

What would be the best way to incorporate something similar to the RabbitMQ channel.waitForConfirmsOrDie() method, while utilizing the Bunny gem for a publish confirmation? Right now I am using: if !...
cr0ss's user avatar
  • 11
1 vote
1 answer
255 views

Keep publishing data via publisher RabbitMQ (ruby bunny)

I have a RabbitMQ with bunny working using consumer.rb and publisher.rb. If I run ruby consumer.rb and then publisher.rb I get data being published (data coming from another class). Data ...
Pav's user avatar
  • 19
1 vote
1 answer
746 views

Messages stacking on consumers, when other consumers are available in RabbitMQ - using bunny for rails

Queue messages in RabbitMQ are stacking and waiting on a single consumer while other consumers are available. We use RabbitMQ as our messenger service. We use bunny to create connections and setup ...
joe's user avatar
  • 103
0 votes
1 answer
91 views

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 ...
rept's user avatar
  • 2,206
1 vote
0 answers
217 views

Auth user between Rails apps with JWT token

My problem: I'm adding a store section to a rails 5 api only app and to keep the complexity down I'm planning to add it as a separate macroserivce and share the user between the two apps, to auth the ...
Jabawack81's user avatar
1 vote
1 answer
636 views

Ruby class design - should I create constants in a seperate file?

I'm new to Ruby, using Bunny to consume messages from RabbitMQ. So my class currently looks roughly like this: class Consumer include Validator def initialize #Start a RabbitMQ session ...
userMod2's user avatar
  • 8,740
2 votes
1 answer
3k views

RabbitMQ Bunny Parallel Consumers

I have built an application which consists of one publisher, several queues and several consumers for each queue. Consumers on a queue (including the queue) share the channel. Other queues use a ...
Yeezus's user avatar
  • 95
1 vote
1 answer
329 views

Bunny and RabbitMQ - Adapting the WorkQueue tutorial to cancel subscribing when the Queue is completely worked

I fill up my queue, check it has the right number of tasks to work and then have workers in parallell set to prefetch(1) to ensure each just takes one task at a time. I want each worker to work its ...
David West's user avatar
  • 2,328

15 30 50 per page
1
2 3 4 5 6