Retrieves the integer value of a stream parameter named paramKey for the specified streamID. It stores the retrieved value at the address pointed to by paramValue. Using a NULL streamID will work on system parameters.

To get a key value from Consul, streamID must be written as genvid.kv, where paramKey is the key-value name and paramValue is the container that holds the key-value content.


  • streamID : object : Unique ID for the stream to access.
  • paramKey : string : Name of the parameter to retrieve.
  • paramValue : ref int : The retrieved parameter value.


Status : Status that indicates if the operation succeeds.