Github user d2r commented on a diff in the pull request:
https://github.com/apache/incubator-storm/pull/164#discussion_r15085420
--- Diff: storm-core/src/jvm/backtype/storm/Config.java ---
@@ -469,7 +469,8 @@
/**
* The jvm opts provided to workers launched by this supervisor. All
"%ID%" substrings are replaced
- * with an identifier for this worker.
+ * with an identifier for this worker. Also, "%WORKER-ID%",
"%STORM-ID%" and "%WORKER-PORT%" are
+ * replaced with appropriate runtime values for this worker.
--- End diff --
Let's explain clearly what substitutions are happening.
ID -> port (for backward compatibility)
WORKER-PORT -> port
WORKER-ID -> worker id
STORM-ID -> topology's id.
---
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.
---