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

Dmitry Werner updated IGNITE-27824:
-----------------------------------
    Description: 
Currently, GridIoMessage contains three fields related to the topic: Object 
topic, byte[] topicBytes, int topicOrd.

It is necessary to consider the possibility of refactoring GridIoMessage and 
other messages with similar logic to reduce duplication.
For example, create a new class GridTopicMeta and encapsulate all the logic 
within it, while making GridTopic a simple enum.

  was:
Currently, GridIoMessage contains three fields related to the topic: Object 
topic, byte[] topicBytes, and int topicOrd.

It is necessary to consider the possibility of refactoring GridIoMessage and 
other messages with similar logic to reduce duplication.
For example, create a new class GridTopicMeta and encapsulate all the logic 
within it, while making GridTopic a simple enum.


> Reduce duplication in message topic handling
> --------------------------------------------
>
>                 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
>
> Currently, GridIoMessage contains three fields related to the topic: Object 
> topic, byte[] topicBytes, int topicOrd.
> It is necessary to consider the possibility of refactoring GridIoMessage and 
> other messages with similar logic to reduce duplication.
> For example, create a new class GridTopicMeta and encapsulate all the logic 
> within it, while making GridTopic a simple enum.



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

Reply via email to