Github user srdo commented on a diff in the pull request:
https://github.com/apache/storm/pull/2575#discussion_r171478166
--- Diff: flux/README.md ---
@@ -354,19 +354,20 @@ storm jar myTopology-0.1.0-SNAPSHOT.jar
org.apache.storm.flux.Flux --local my_co
With the following `dev.properties` file:
```properties
-kafka.zookeeper.hosts: localhost:2181
+kafka.bootstrap.hosts: localhost:9092
```
You would then be able to reference those properties by key in your
`.yaml` file using `${}` syntax:
```yaml
- - id: "zkHosts"
- className: "org.apache.storm.kafka.ZkHosts"
+ - id: "spoutConfigBuilder"
+ className: "org.apache.storm.kafka.spout.KafkaSpoutConfig$Builder"
constructorArgs:
- - "${kafka.zookeeper.hosts}"
+ - "${kafka.bootstrap.hosts}"
+ - "[myKafkaTopic"]
--- End diff --
Nice catch
---