marcosschroh / cookiecutter-faust

A Cookiecutter template for creating Faust projects quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any new faust app is not autodiscovered

mainakchhari opened this issue · comments

Description
I use cookiecutter-faust to generate a new project (with all default settings). Then I execute make run-dev which builds the image, and runs it in a container. I run bash inside the running container with make bash and run SIMPLE_SETTINGS=my_awesome_faust_project.settings my_awesome_faust_project agents which gives following output:

1

I make another app folder in my my_awesome_faust_project/ dir called test_app so that my project dir looks like this:
2

Here are the contents of my test_app/agents.py:
3

The contents of test_app/models.py is the same as page_views/models.py.

ISSUE
Now when I run make clean followed by make run-dev again, and then run SIMPLE_SETTINGS=my_awesome_faust_project.settings my_awesome_faust_project agents inside the container, the agents are the unchanged! Running SIMPLE_SETTINGS=my_awesome_faust_project.settings my_awesome_faust_project models yields
4

Expected Output
There is no mention of the newly created app test_app in models and it's defined agent test_agent in agents.

What am I missing ??

Hi @m3nd1s ,

Thanks for let me know. I will take a look on this.

I have created a new project with all the default values and the autodiscover works well. Could you check whether the topic test_app exist? You can see the topics running make list-topics. Which kind of storage are you using? RocksDB or Memory?

Screen Shot 2019-08-06 at 13 17 10

@m3nd1s

Any progress on this?

Closing this issue because it has been inactive. I can not reproduce it with the previous version 0.71 and the new one 0.7.2

Please reopen if you still encounter this issue with the version

Thank you!