diff options
author | Valery Piashchynski <[email protected]> | 2021-07-08 17:54:29 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-08 17:54:29 +0300 |
commit | 4566f88004e81d3229222d82614c15346ac2e47d (patch) | |
tree | 05dc6ffeea8d00cb63cc6a51c17ae2afda8aaa5a /plugins/jobs/brokers/ephemeral/item.go | |
parent | 5f84c5d5709cff5984a5859651a0bbb1c55fcb0f (diff) |
AMQP update...
Add redialer, consumer, rabbit queues initializer.
Update configuration (.rr.yaml).
Add ack/nack for the jobs main plugin with error handling.
Add Qos, queues bining and declaration.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/brokers/ephemeral/item.go')
-rw-r--r-- | plugins/jobs/brokers/ephemeral/item.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/jobs/brokers/ephemeral/item.go b/plugins/jobs/brokers/ephemeral/item.go index 40c6b3e4..76e83d00 100644 --- a/plugins/jobs/brokers/ephemeral/item.go +++ b/plugins/jobs/brokers/ephemeral/item.go @@ -118,10 +118,12 @@ func (j *Item) Context() ([]byte, error) { return ctx, nil } -func (j *Item) Ack() { +func (j *Item) Ack() error { // noop for the in-memory + return nil } -func (j *Item) Nack() { +func (j *Item) Nack() error { // noop for the in-memory + return nil } |