Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Allow Celery class to connect to different broker and backend #104

Closed
wants to merge 1 commit into from
Closed

Allow Celery class to connect to different broker and backend #104

wants to merge 1 commit into from

Conversation

jdufresne
Copy link
Collaborator

Constructor accepts two connection arrays.

Flattens class hierarchy. Remove CeleryAbstract and CeleryAdvanced. Now
Celery is full featured. Remove hierarchy as it provided no additional
useful abstraction or reuse.

@gjedeer
Copy link
Owner

gjedeer commented May 3, 2017

This looks like an API breaking change and the project promised not to break any APIs. Please don't merge any changes that don't pass the unit tests.

@gjedeer gjedeer closed this May 3, 2017
@gjedeer
Copy link
Owner

gjedeer commented May 3, 2017

@jdufresne
Copy link
Collaborator Author

Unit tests do pass, see the Travis CI status. I bumped the semantic version to handle the change in API.

@jdufresne
Copy link
Collaborator Author

Additionally, the change significantly cleans up the organization of the code and makes the base class more flexible in the general case. I think you should reconsider.

@gjedeer
Copy link
Owner

gjedeer commented May 3, 2017 via email

@jdufresne
Copy link
Collaborator Author

I understand your point of view.

In a previous commit, I've changed the major version to signal to library users that there will be some API changes. I've also included a CHANGELOG.md file with strong wording where APIs have been altered. I too want the users to know about these changes, but I don't want them to hold the library back.

My goal with the API changes is to bring celery-php up to modern PHP standards and clean API practices. I don't plan to do the next release until I'm confident all potential API changes are in, so it only occurs once. In addition, I hope to have a look at rebasing and merging the Celery4 v2 protocol changes so this library can live on with improved, long term Celery support.

I plan to continue supporting celery-php after all the changes land. So if there is strong feedback I'll be around to fix and help.

@jdufresne jdufresne reopened this May 7, 2017
Constructor accepts two connection arrays.

Flattens class hierarchy. Remove CeleryAbstract and CeleryAdvanced. Now
Celery is full featured. Remove hierarchy as it provided no additional
useful abstraction or reuse.
@jdufresne jdufresne closed this Mar 6, 2018
@jdufresne jdufresne deleted the flat-client branch July 19, 2018 14:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants