flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctamisier <...@git.apache.org>
Subject [GitHub] flink pull request #5964: [FLINK-8655] [Cassandra Connector] add keyspace in...
Date Tue, 08 May 2018 12:46:20 GMT
Github user ctamisier commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5964#discussion_r186714037
  
    --- Diff: flink-connectors/flink-connector-cassandra/src/main/java/org/apache/flink/streaming/connectors/cassandra/CassandraSinkBase.java
---
    @@ -85,7 +85,7 @@ public void onFailure(Throwable t) {
     			}
     		};
     		this.cluster = builder.getCluster();
    -		this.session = cluster.connect();
    +		this.session = cluster.connect(configuration.getString("keyspace", null));
    --- End diff --
    
    indeed!


---

Mime
View raw message