Questions tagged [bunny]
Bunny is an easy to use RabbitMQ Ruby client.
bunny
90
questions
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]
...
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 ...
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 ...
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-...
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 ...
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 ...
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)
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 !...
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 ...
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 ...
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 ...
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 ...
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
...
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 ...
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 ...