You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# NOTE: deliver_policy is defaulting to ALL so check is different for this one.
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
The text was updated successfully, but these errors were encountered:
Observed behavior
Object store
watch
function have parameterinclude_history
. IfFalse
delivery policy is set toLAST_PER_SUBJECT
:nats.py/nats/js/object_store.py
Line 498 in 7e7883e
If set to
True
thendeliver_policy = None
and then default toALL
:nats.py/nats/js/client.py
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 thisLAST_PER_SUBJECT
andALL
will give same result at consumer start up. If I understand it correct?Expected behavior
Expect
include_history= False
to give delivery policyNEW
, 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
The text was updated successfully, but these errors were encountered: