Closed robkooper closed 2 years ago
for example:
docker run -ti --network clowder_clowder -e RABBITMQ_URI=amqp://guest:guest@rabbitmq/%2F clowder/wordcount
docker run -ti --network clowder_clowder -e RABBITMQ_QUEUE=ncsa.wordcount.rob -e RABBITMQ_URI=amqp://guest:guest@rabbitmq/%2F clowder/wordcount
results in:
Looks good to me. Tested on my local.
pyclowder would connect to the queue specified as either the queue name specified on hte command line or rabbitmq_queue environment variable (if neither was set it would default to extractor_info[name]).
clowder on the other hand would use the extractor_info[name] always to send messages, resulting in a mismatch between what the extractor was listening on and where clowder send the messages
this will now set the extractor_info[name] to be the same as the queue, fixing this issue.