aratno commented on PR #1897:
URL: 
https://github.com/apache/cassandra-java-driver/pull/1897#issuecomment-1967354072

   Is there a reason you can't configure Pekko to use a custom session? It 
looks like that should be possible from this documentation: 
https://pekko.apache.org/docs/pekko-connectors/current/cassandra.html#custom-session-creation
   
   You can create a custom CqlSessionProvider that sets contact points based on 
the environment: 
https://pekko.apache.org/api/pekko-connectors/snapshot/org/apache/pekko/stream/connectors/cassandra/CqlSessionProvider.html
   
   The main drawbacks of the implementation in this PR are:
   1. Changing the parsing behavior of `basic.contact-points` could break 
existing client configurations
   2. Allowing some list-typed configurations to support comma-separated 
strings when others don't is confusing for users


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to