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

Use multiprocessing for Pika event consumer #6760

Merged
merged 31 commits into from
Oct 14, 2020

Conversation

alwx
Copy link
Contributor

@alwx alwx commented Sep 23, 2020

Proposed changes:

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@alwx alwx marked this pull request as ready for review September 24, 2020 11:30
@alwx alwx requested review from ricwo and m-vdb September 24, 2020 11:30
Copy link
Contributor

@ricwo ricwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really nice work 👍 Did you get a chance to test this in a full Rasa X deployment? I think it would be important to verify before merging this

changelog/6760.bugfix.md Outdated Show resolved Hide resolved
changelog/6760.bugfix.md Outdated Show resolved Hide resolved
rasa/core/brokers/pika.py Outdated Show resolved Hide resolved
rasa/core/brokers/pika.py Outdated Show resolved Hide resolved
rasa/core/brokers/pika.py Outdated Show resolved Hide resolved
rasa/core/brokers/pika.py Outdated Show resolved Hide resolved
rasa/core/brokers/pika.py Outdated Show resolved Hide resolved
rasa/core/brokers/pika.py Show resolved Hide resolved
rasa/core/brokers/pika.py Show resolved Hide resolved
rasa/core/brokers/pika.py Outdated Show resolved Hide resolved
@alwx alwx removed the request for review from m-vdb September 28, 2020 10:36
@alwx
Copy link
Contributor Author

alwx commented Oct 8, 2020

Spent time testing it on Kubernetes instance today — events get streamed by TrackerStore without any issues.

@indam23
Copy link
Contributor

indam23 commented Oct 8, 2020

That's great! I'll start working on backporting to 1.10 as soon as it is merged

@alwx
Copy link
Contributor Author

alwx commented Oct 8, 2020

It might take a while, by the way — my other PR (this one: #6943) is waiting to be merged since yesterday :(

@indam23
Copy link
Contributor

indam23 commented Oct 8, 2020

Ooof ok, well I can work on backport from this branch too

@rasabot
Copy link
Collaborator

rasabot commented Oct 8, 2020

Could not update branch. Most likely this is due to a merge conflict. Please update the branch manually and fix any issues.

@indam23
Copy link
Contributor

indam23 commented Oct 9, 2020

@ricwo one test here is failing again - do you know what's wrong with it? Also failing on my backport branch

@indam23 indam23 mentioned this pull request Oct 9, 2020
4 tasks
@rasabot rasabot merged commit 3868797 into master Oct 14, 2020
@rasabot rasabot deleted the pika-event-broker-connection branch October 14, 2020 15:43
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

Successfully merging this pull request may close these issues.

Pika event broker connection breaks down
4 participants