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 different persistence levels for different types. #112

Open
zoperado opened this issue Nov 12, 2019 · 0 comments
Open

use different persistence levels for different types. #112

zoperado opened this issue Nov 12, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@zoperado
Copy link
Collaborator

Problem
our interface allows to store both
MirrorGetTopicMessages.MirrorGetTopicMessagesResponse.Builder
and
ApplicationMessageChunk

The latter can be derived by the former but it is convenient to allow user to store the more generic type as well.

At the moment, we define a single persistenceLevel in the global config but that level needs to be
split to two in order to define what to keep for both of the above types.

Solution
create persistenceLevelRaw and presistenceLevelChunk in global yaml config

Alternatives
allow only to store the raw message and let the algorithm interpret deal with the interpretation.
Additional layers required to make code readable.

@zoperado zoperado added the enhancement New feature or request label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant