Skip to content

Instantly share code, notes, and snippets.

@turtlebender
Created September 19, 2012 15:08
Show Gist options
  • Save turtlebender/3750168 to your computer and use it in GitHub Desktop.
Save turtlebender/3750168 to your computer and use it in GitHub Desktop.
hash
"{{name}}": {
"exchange": "{{exchange}}",
"binding_key": "{{binding_key}}"
},
CELERYD_LOG_LEVEL = 'INFO'
CELERY_IMPORTS = (
'ns_esb.components.event_consumer',
{{#gearbox.loaded_data_bags.ingestion_deploy}}
"{{celery_imports}}",
{{/gearbox.loaded_data_bags.ingestion_deploy}}
)
CELERY_QUEUES = {
"celery": {
"exchange": "default",
"binding_key": "celery"
},
{{#gearbox.loaded_data_bags.ingestion_deploy.celery_queues}}
{{> celeryqueue}}
{{/gearbox.loaded_data_bags.ingestion_deploy.celery_queues}}
}
{
"celery_queues": [
{
"exchange": "default",
"binding_key": "Events.CitiOpenCalaisSubscriber",
"name": "Events.CitiOpenCalaisSubscriber"
},
{
"exchange": "default",
"binding_key": "Events.CitiGoogleNewsSubscriber",
"name": "Events.CitiGoogleNewsSubscriber"
},
{
"exchange": "default",
"binding_key": "GoogleNews.consume",
"name": "GoogleNews.consume"
}
],
"celery_imports": [
"ns_ingestion.pipelines.tasks"
],
"id": "ingestion_deploy"
}
CELERYD_LOG_LEVEL = 'INFO'
CELERY_IMPORTS = (
'ns_esb.components.event_consumer',
"ns_ingestion.pipelines.tasks",
)
CELERY_QUEUES = {
"celery": {
"exchange": "default",
"binding_key": "celery"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment