Oh sorry, you're right. I read the code wrong. I didn't realize that you reset the value of the system property at the end. Though I do agree the code is easier to understand by only using what's in the storm conf, and it's arguably better to only have one way to configure this.