Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change prefix for private queue of a consumer #186

Closed
crbrox opened this issue Sep 24, 2013 · 3 comments
Closed

Change prefix for private queue of a consumer #186

crbrox opened this issue Sep 24, 2013 · 3 comments

Comments

@crbrox
Copy link
Member

crbrox commented Sep 24, 2013

In config file
/*
Consumer_id.
Unique identifier of the consumers node. It is important in order to check and recover processing task
in case of system crash. Usually it should be function of HOSTNAME
*/
exports.consumer_id = 'consumerA:';

(And what if there were several consumer processes on the same machine ...)

@aitormagan
Copy link
Contributor

Maybe PID can be the preffix of cosumer_id. (i.e.: 5480:consumerA:420).

@mrutid
Copy link
Member

mrutid commented Sep 24, 2013

It MUST be the same id among every consumer restart (in order to recover pending taks). So pid doesn't seem a good idea.

Enviado desde mi iPhone

El 24/09/2013, a las 11:07, "Aitor Magán García" <notifications@github.commailto:notifications@github.com> escribió:

Maybe PID can be the preffix of cosumer_id. (i.e.: 5480:consumerA:420).


Reply to this email directly or view it on GitHubhttps://github.com//issues/186#issuecomment-24986770.


Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx

@aitormagan
Copy link
Contributor

Puppet do it automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants