...
With contents of the referenced file like:
Code Block |
---|
-c=cluster1 -zk=host.domain.com:42000 -p=param1=value1,param2=value2 |
...
- injecting them in the application class:
Code Block @Inject @Named('myParam') param
- specifying the parameter value at node startup (using -p inline with the node command, or with the '@' syntax)