Hi I create my own Connector of Cassandra using the datastax drivers. But I´m facing some Memory leaks issues, so I start considering another solutions like Alpakka de lightbend which has a Cassandra connector.
But after check the poor documentation I´m changing my mind, since it´s just using the connector with CQLSH queries, and in my case I manage DTO objects.
Anybody knows any documentation where I can see if Alpakka cassandra manage the save of DTO´s with consistency level?.
This code is from my current connector. I would like to achieve something similar.
private void updateCreateEntry(DTO originalDto, Mapper cassandraMapper) {
ConsistencyLevel consistencyLevel = ((DTOCassandra) originalDto).getConsistencyLevel();
//.- For writing we set the consistency level to quorum
cassandraMapper.save(originalDto, Option.consistencyLevel(consistencyLevel != null ? consistencyLevel : DEFAULT_CONSISTENCY_LEVEL));
}