Ilya Shishkov created IGNITE-28667:
--------------------------------------
Summary: Initialize message factory provider for extensions
Key: IGNITE-28667
URL: https://issues.apache.org/jira/browse/IGNITE-28667
Project: Ignite
Issue Type: Task
Reporter: Ilya Shishkov
Assignee: Ilya Shishkov
Fix For: 2.19
{{DiscoveryDataBag}} for joining node data:
# Stores it in {{#joiningNodeData}} map of type {{Map<Integer, Serializable>}}
# Uses {{JoiningNodeDiscoveryData#joiningNodeData}} with return type
{{Serializable}} to provide it to Ignite components.
*For the RU purposes:*
# {{Serializable}} should be replaced by {{Message}} for joining node data in
{{DiscoveryDataBag}}, {{DiscoveryDataPacket}} and corresponing Ignite
components.
# Corresponding data classes should implement {{Message}} as much as possible.
Eg., {{NodeEncryptionKeys}}, {{GroupKeyEncrypted}} can be easely refactored to
become messages.
# For generic objects like consistent id, node attributes extra message wrapper
can be used, eg.:
{code}
public class ObjectData implements MarshallableMessage {
private Serializable data;
@Order(0)
byte[] dataBytes;
...
}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)