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

[spiral/queue] Redesign interfaces #875

Open
butschster opened this issue Feb 9, 2023 · 0 comments
Open

[spiral/queue] Redesign interfaces #875

butschster opened this issue Feb 9, 2023 · 0 comments
Assignees
Milestone

Comments

@butschster
Copy link
Member

butschster commented Feb 9, 2023

HandlerInterface

  • Add headers argument
  • Change payload type to mixed

FailedJobHandlerInterface

  • Change payload type to mixed

QueueInterface

  • Change payload type to mixed

OptionsInterface

Merge with ExtendedOptionsInterface

Queue push

Use message DTO

Options::onQueue

It does nothing and uses only in rr-bridge to choose pipeline

Additional

// set serializer using attributes
// headers as object DTO
// Attributes max attempt 5 and delay 10 seconds using interceptor

@butschster butschster added this to the 4.0 milestone Feb 9, 2023
@butschster butschster self-assigned this Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant