hashgraph / hashgraph/hedera-hcs-sxc-java

use different persistence levels for different types.

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
20
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.