Github user alkagin commented on the pull request:

    https://github.com/apache/flink/pull/1771#issuecomment-199224407
  
    Hi, 
    I am testing the Cassandra connector and I may have found a bug using 
CassandraSink-DSL. During the execution it throws 
`java.io.NotSerializableException: 
org.apache.flink.streaming.connectors.cassandra.CassandraSink$CassandraTupleSinkBuilder`
 CassandraSinkBuilder doesn't implement java.io.Serializable. I forked and 
added java.io.serializable to CassandraSinkBuilder, after that it throws 
`java.io.NotSerializableException: 
org.apache.flink.streaming.api.datastream.SingleOutputStreamOperator`.
    Not using the DSL it works as expected. 
    Job source code: https://gist.github.com/alkagin/6620ebdd10ef6bb47eee
    
    Hope it helps.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to