[ 
https://issues.apache.org/jira/browse/IGNITE-27824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Werner updated IGNITE-27824:
-----------------------------------
    Description: 
Currently, certain messages (GridIoMessage, GridDeploymentRequest, 
GridEventStorageMessage, DataStreamerRequest) contain the fields Object topic 
and byte[] topicBytes.

The goal of this task is to incapsulate the marshaling/unmarshaling of the 
topic to bytes in a single location - specifically, in a new message called 
GridTopicMessage. This will eliminate code duplication.

GridIoUserMessage also contains an Object topic and a byte[] topicBytes. 

However, since a custom object (not GridTopic) is used as the topic, and 
GridDeployment#classLoader is required for unmarshalling, it was decided not to 
use GridTopicMessage within this task.

  was:
Currently, certain messages (GridIoMessage, GridDeploymentRequest, 
GridEventStorageMessage, DataStreamerRequest) contain the fields Object topic 
and byte[] topicBytes.

The goal of this task is to incapsulate the marshaling/unmarshaling of the 
topic to bytes in a single location - specifically, in a new message called 
GridTopicMessage. This will eliminate code duplication.


> Reduce code duplication in the marshaling of the topic
> ------------------------------------------------------
>
>                 Key: IGNITE-27824
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27824
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Dmitry Werner
>            Assignee: Dmitry Werner
>            Priority: Minor
>              Labels: IEP-132, ise
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently, certain messages (GridIoMessage, GridDeploymentRequest, 
> GridEventStorageMessage, DataStreamerRequest) contain the fields Object topic 
> and byte[] topicBytes.
> The goal of this task is to incapsulate the marshaling/unmarshaling of the 
> topic to bytes in a single location - specifically, in a new message called 
> GridTopicMessage. This will eliminate code duplication.
> GridIoUserMessage also contains an Object topic and a byte[] topicBytes. 
> However, since a custom object (not GridTopic) is used as the topic, and 
> GridDeployment#classLoader is required for unmarshalling, it was decided not 
> to use GridTopicMessage within this task.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to