include_history
for object store watch
have no effect
#638
Labels
defect
Suspected defect such as a bug or regression
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: