lamber-ken commented on issue #1352: [HUDI-625] Fixing performance issues 
around DiskBasedMap & kryo
URL: https://github.com/apache/incubator-hudi/pull/1352#issuecomment-590706623
 
 
   > classes extending BaseAvroPayload may be okay. but we allow users to 
implement their own payload classes.. if they don't have data converted as 
byte[], do we need to register them etc?
   
   It's right way to register the class to kryo, but if the custom payload 
doesn't have a no-arg constructor, it will not work.
   
   And, we already set the instantiator strategy, kryo built-in serializers 
have high performance.
   ```
   kryo.setInstantiatorStrategy(new DefaultInstantiatorStrategy(new 
StdInstantiatorStrategy()));
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to