Commit a4012e8
authored
fix: Use nondurable cursors for pulsar readers (streamnative#324)
By default we set subscriptions to use a durable cursor:
https://github.com/streamnative/pulsar-rs/blob/master/PulsarApi.proto#L352
We only run into this when durable is None which can also be avoided
if we use Pulsar::reader() which also sets durable to Some(false).
However, there are cases where users may overwrite the options before
calling `into_reader()`.1 parent 5bb283a commit a4012e8
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
327 | 331 | | |
328 | 332 | | |
329 | 333 | | |
| |||
0 commit comments