You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After our conversation I was still struggling to be able to call a task located in stream.py. I've messed around with it for a bit and traced it to the inconsistency in naming between "stream" and "stream_input". I'm not sure if this is due to the app name and queue names being different or what but after making the changes described below, I was able to start calling tasks from the "stream" microservice.
I know that 1, 2, & 3 need to be done together to actually get the service running, but I'm not convinced that #4 is necessary. Just wanted to document this for my own sanity sake and also for if you ever want to get that Start Stream button working!
The text was updated successfully, but these errors were encountered:
Hey Chris!
After our conversation I was still struggling to be able to call a task located in stream.py. I've messed around with it for a bit and traced it to the inconsistency in naming between "stream" and "stream_input". I'm not sure if this is due to the app name and queue names being different or what but after making the changes described below, I was able to start calling tasks from the "stream" microservice.
stream.start => stream_input.start
https://github.com/chodges15/uServicesCelery/blob/master/src/http_interface/http_interface.py#L47
--app=stream.app => --app=stream_input.app
https://github.com/chodges15/uServicesCelery/blob/master/docker-compose.yml#L20
rename stream.py to stream_input.py
app = Celery(”stream) => app = Celery(”stream_input”)
https://github.com/chodges15/uServicesCelery/blob/master/src/stream_input/stream.py#L19
I know that 1, 2, & 3 need to be done together to actually get the service running, but I'm not convinced that #4 is necessary. Just wanted to document this for my own sanity sake and also for if you ever want to get that Start Stream button working!
The text was updated successfully, but these errors were encountered: