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

Why not dedicated topics per action #118

Open
ghost opened this issue May 25, 2020 · 1 comment
Open

Why not dedicated topics per action #118

ghost opened this issue May 25, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented May 25, 2020

Instead of enum for message action, would it not be more appropriate to have a channel per action. This affords dedicated subscribers without conditioning as well as not consuming messages it is not concerned with.

MessageAction is not necessary.

@ghost
Copy link
Author

ghost commented May 25, 2020

This switch statement is not ideal: MessageListenerService

Why consume all messages. I don't think this is common practice and is more likely to use topic/queue per desired action.

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

No branches or pull requests

0 participants