You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "bianca-stanciu29 (via GitHub)" <gi...@apache.org> on 2026/10/09 12:42:33 UTC
Re: [PR] CASSANALYTICS-181: Support Sidecar behind a load balancer for time… [cassandra-analytics]
bianca-stanciu29 commented on code in PR #223:
URL: https://github.com/apache/cassandra-analytics/pull/223#discussion_r4230198266
##########
cassandra-analytics-core/src/main/java/org/apache/cassandra/spark/bulkwriter/CassandraClusterInfo.java:
##########
@@ -138,6 +138,57 @@ public CassandraClusterInfo(BroadcastableClusterInfo broadcastable)
this.allNodeSettingFutures = null;
}
+ /**
+ * Creates a {@link CassandraClusterInfo} for a single cluster, selecting the concrete type based on the
+ * {@link BulkSparkConf#sidecarBehindLoadBalancer} flag.
+ *
+ * @param conf bulk write conf
+ * @return {@link LoadBalancedCassandraClusterInfo} when Sidecar is behind a load balancer, otherwise a plain
+ * {@link CassandraClusterInfo}
+ */
+ public static CassandraClusterInfo create(BulkSparkConf conf)
Review Comment:
Hi @bbotella @skoppu22, what do you think about leaving the refactor for a follow-up so we can land this on trunk? Thanks!
--
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: commits-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org