Github user HeartSaVioR commented on a diff in the pull request:
https://github.com/apache/storm/pull/1801#discussion_r90175075
--- Diff:
external/storm-cassandra/src/main/java/org/apache/storm/cassandra/bolt/BaseCassandraBolt.java
---
@@ -91,8 +93,12 @@ public BaseCassandraBolt(CQLStatementTupleMapper
tupleMapper) {
public void prepare(Map stormConfig, TopologyContext topologyContext,
OutputCollector outputCollector) {
this.outputCollector = outputCollector;
this.stormConfig = stormConfig;
- this.cassandraConfConfig = new CassandraConf(stormConfig);
- this.client = clientProvider.getClient(this.stormConfig);
+
+ Map<String, Object> cassandraClientConfig = cassandraConfig !=
null ? stormConfig : stormConfig;
--- End diff --
This always pick stormConfig which seems not intended.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---