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

ASF GitHub Bot commented on FLINK-3311:
---------------------------------------

Github user f1yegor commented on the issue:

    https://github.com/apache/flink/pull/1771
  
    Looking at the code of `CassandraSinkBase` I assume that every new sink 
will create own session to the cluster. 
    I'm creating arount 1000 streams and sinks for them, so cassandra cluster 
would be saturated with openning connections.
    Cassandra session could manage several connections via one session. 
    
    Could you confirm that this isn't an issue with the implementation?


> Add a connector for streaming data into Cassandra
> -------------------------------------------------
>
>                 Key: FLINK-3311
>                 URL: https://issues.apache.org/jira/browse/FLINK-3311
>             Project: Flink
>          Issue Type: New Feature
>          Components: Streaming Connectors
>            Reporter: Robert Metzger
>            Assignee: Andrea Sella
>             Fix For: 1.1.0
>
>
> We had users in the past asking for a Flink+Cassandra integration.
> It seems that there is a well-developed java client for connecting into 
> Cassandra: https://github.com/datastax/java-driver (ASL 2.0)
> There are also tutorials out there on how to start a local cassandra instance 
> (for the tests): 
> http://prettyprint.me/prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/index.html
> For the data types, I think we should support TupleX types, and map standard 
> java types to the respective cassandra types.
> In addition, it seems that there is a object mapper from datastax to store 
> POJOs in Cassandra (there are annotations for defining the primary key and 
> types)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to