-
Notifications
You must be signed in to change notification settings - Fork 0
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
#5 Added Botalka service design document #20
Conversation
We can replace |
## Produced Events | ||
|
||
```kotlin | ||
object BotalkaEvent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Так понимаю ты собираешься делать switch-case по типу события, тогда тебе действительно нужно иметь зафиксированную иерархию с помощью sealed class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не, эти события будут лететь в кафку и потом кем-то разгребаться. Но так да, согласен.
No description provided.