You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/08/20 06:23:21 UTC

[GitHub] [pulsar] bicouy0 commented on issue #4721: Flink pulsar sink NotSerializableException

bicouy0 commented on issue #4721: Flink pulsar sink NotSerializableException
URL: https://github.com/apache/pulsar/issues/4721#issuecomment-522871934
 
 
   Seems like `org.apache.pulsar.client.impl.conf.ProducerConfigurationData` throws the exception : 
   
   ```scala
   import org.apache.flink.util.InstantiationUtil
   import org.apache.pulsar.client.impl.conf.ProducerConfigurationData
   
   val obj = new ProducerConfigurationData
   InstantiationUtil.serializeObject(obj)
   ```
   
   throws `Exception in thread "main" java.io.NotSerializableException: org.apache.pulsar.client.impl.DefaultBatcherBuilder`
   
   (flink 1.8.1-2.12, pulsar 2.4.0)
   
   Ended with a custom FlinkPulsarProducer with ProducerConfigurationData replaced with simple topic name.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services