The FilterStreamBySubject was appending subjects instead of setting the passed value.
Additionally, it was not resetting the other filter subject field. That could cause errors, as server denies consumer API calls with both FilterSubjectandFilterSubjectsset.
The
FilterStreamBySubject
was appending subjects instead of setting the passed value. Additionally, it was not resetting the other filter subject field. That could cause errors, as server denies consumer API calls with both FilterSubjectand
FilterSubjectsset.
Signed-off-by: Tomasz Pietrek tomasz@nats.io