basis-company / nats.php

nats jetstream client for php
126 stars 30 forks source link

Enable on-demand consumer update #52

Closed ro0NL closed 10 months ago

ro0NL commented 10 months ago

cc @nekufa

i can confirm CONSUMER.CREATE api updates existing consumers

this PR enables updating such consumers on-demand using create(false), eg. when config has changed in code

it seems this feature was intially forgotten when developing the client, because the needed argument was already there :)