[ 
https://issues.apache.org/jira/browse/SCB-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16440529#comment-16440529
 ] 

Willem Jiang commented on SCB-268:
----------------------------------

[~seanyinx] 
I just want check with you about the compact events use case, it looks like we 
need to store the events with different entity, here is [an 
example|https://www.thoughts-on-java.org/hibernate-tips-map-multiple-entities-same-table/]
 for it. 

As the Entity manager cannot tell the difference of these entity,  it may has 
some shortcomings.
  


> [pack] compact events to remove unnecessary fields
> --------------------------------------------------
>
>                 Key: SCB-268
>                 URL: https://issues.apache.org/jira/browse/SCB-268
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Saga
>            Reporter: Yin Xiang
>            Assignee: Willem Jiang
>            Priority: Major
>
> only TxStartedEvent needs to contain all tx information.
> Asking other events to provide info such as payloads, compensationMethod, 
> parentTxId, etc. is not necessary.
>  
> compacting events not only reduces network load and null/duplicate data in 
> database 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to