This function is used to delete a JetStream consumer.
Context
Windows client
Windows server
Java client
Java server
Adelia Web Client
Adelia Cloud client
Event Adelia client
Parameters
NUM_BIN_4 | Handle | Connection ID |
ALPHA | Stream | Stream name |
ALPHA | Consumer | Consumer’s name |
NUM_BIN_4 | Rc | Function return code. The possible values are provided in NatsLastError function documentation. Output parameter. |
Example
CALL_DLL 'NatsToolBx' 'NatsUpdateConsumer' Handle 'ORDERS' 'Orders' 'ackPolicy: explicit' Rc