bull-repl icon indicating copy to clipboard operation
bull-repl copied to clipboard

Could you put some examples for each command?

Open edu791 opened this issue 5 years ago • 4 comments

I need to add a job but I don't know exactly what is the correct syntax.

This is my command: add "{\"orderId\":185652}"

But it returns:

Error occured, seems "data" incorrect json

edu791 avatar Nov 21 '19 21:11 edu791

Try add '{"orderId": 185652}'

darky avatar Nov 22 '19 08:11 darky

I'd like to see an example connecting to an ElastiCache clustercfg configuration endpoint.

joebowbeer avatar Jul 08 '20 23:07 joebowbeer

@joebowbeer sorry, I don't have experience with ElastiCache clustercfg Does this have simple redis parameters: host, port, e.t.c ?

darky avatar Jul 09 '20 17:07 darky

The typical ElastiCache cluster has a single Configuration Endpoint that is used to create the IORedis.Cluster client.

However, in practice the ioredis client needs some custom config for ElastiCache, especially if encryption-at-rest is enabled. This is often handled by passing in a createClient factory method in the QueueOptions.

To support this in bull-repl, there would need to be a way to hook redis client creation and shutdown.

joebowbeer avatar Jul 09 '20 18:07 joebowbeer