Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pikatasks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
django
pikatasks
Commits
e31a4363
Commit
e31a4363
authored
6 years ago
by
Art
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
77c0f9dd
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-2
4 additions, 2 deletions
README.md
with
4 additions
and
2 deletions
README.md
+
4
−
2
View file @
e31a4363
...
@@ -88,13 +88,15 @@ You are done after creating queues for each of your tasks. Don't need anything e
...
@@ -88,13 +88,15 @@ You are done after creating queues for each of your tasks. Don't need anything e
*
Decide which tasks should the client use. Let's say these are
`task1`
and
`task2`
(you should have the corresponding queues already).
*
Decide which tasks should the client use. Let's say these are
`task1`
and
`task2`
(you should have the corresponding queues already).
*
For each of the tasks, create a new binding for the exchange
`client.out`
, with
`routing key == queue name == task name`
*
For each of the tasks, create a new binding for the exchange
`client.out`
, with
`routing key == queue name == task name`
*
e.g.
`exchange = client.out`
,
`routing key = task1`
,
`queue = task1`
*
e.g.
`exchange = client.out`
,
`routing key = task1`
,
`queue = task1`
*
U
ser permissions:
*
RabbitMQ u
ser permissions:
*
Configure: empty string (no config permissions)
*
Configure: empty string (no config permissions)
*
Write:
`^client.out$`
(replace with the name of your exchange)
*
Write:
`^client.out$`
(replace with the name of your exchange)
*
Read: empty string (no read permissions, RPC results/replies will still work)
*
Read: empty string (no read permissions, RPC results/replies will still work)
*
Pikatasks settings:
*
```pikatasks.settings.CLIENT_EXCHANGE_NAME = "client.out"```
(replace
`client.out`
with you know what
`)
##### Worker:
##### Worker:
*
U
ser permissions:
*
RabbitMQ u
ser permissions:
* Configure: empty string (no config permissions)
* Configure: empty string (no config permissions)
* Write: `
.
*
` (everything) or `
^amq.default$
` (`
amq.default
` is required to send "direct reply-to")
* Write: `
.
*
` (everything) or `
^amq.default$
` (`
amq.default
` is required to send "direct reply-to")
* Read: `
^(task1|task2)$
`, replace `
taskN
`
with whatever your task names are
* Read: `
^(task1|task2)$
`, replace `
taskN
`
with whatever your task names are
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment