Description
Observed behavior
Object store watch
function have parameter include_history
. If False
delivery policy is set to LAST_PER_SUBJECT
:
nats.py/nats/js/object_store.py
Line 498 in 7e7883e
If set to True
then deliver_policy = None
and then default to ALL
:
Line 420 in 7e7883e
But messages in underlying meta jetstream for object store is published with Nats-Rollup: sub
. So we only have one message for each subject. So with this LAST_PER_SUBJECT
and ALL
will give same result at consumer start up. If I understand it correct?
Expected behavior
Expect include_history= False
to give delivery policy NEW
, only receive new changes from start up.
Server and client version
nats.py: 2.9.0
Host environment
No response
Steps to reproduce
No response