Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/5964#discussion_r186673889
--- Diff:
flink-connectors/flink-connector-cassandra/src/test/java/org/apache/flink/streaming/connectors/cassandra/CassandraConnectorITCase.java
---
@@ -429,6 +429,26 @@ public void testCassandraPojoAtLeastOnceSink() throws
Exception {
Assert.assertEquals(20, rs.all().size());
}
+ @Test
+ public void testCassandraPojoNoAnnotatedKeyspaceAtLeastOnceSink()
throws Exception {
+ session.execute(CREATE_TABLE_QUERY.replace(TABLE_NAME_VARIABLE,
"test2"));
+
+ CassandraPojoSink<PojoNoAnnotatedKeyspace> sink = new
CassandraPojoSink<>(PojoNoAnnotatedKeyspace.class, builder);
+
+ Configuration configuration = new Configuration();
+ configuration.setString("keyspace", "flink");
--- End diff --
this has no effect and can be removed
---