-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Advanced Pub/Sub feature #1582
Merged
Merged
Changes from 1 commit
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
2cc7f12
Expose and use ke macro
OlivierHecart 163d3d5
Fix SourceInfo publication
OlivierHecart 43a5d3c
Add AdvancedPublisher AdvancedSubscriber and AdvancedSubscriber
OlivierHecart 9f076a7
Fix doctests
OlivierHecart 3935974
Fix doc warnings
OlivierHecart 405d76e
Remove debug trace
OlivierHecart 71b22d3
Add history test
OlivierHecart af1b2a2
Fix periodic queries
OlivierHecart bd32356
Remove debug trace
OlivierHecart 4e4bbb6
Lower test debug level
OlivierHecart f36c890
Add retransmission tests
OlivierHecart 23f145d
Liveliness sub callback shoud increase pending queries counter
OlivierHecart de396a4
Liveliness sub callback shoud spawn periodic queries when enbaled
OlivierHecart ff24135
Add late_joiner test
OlivierHecart 975aba4
Only treat pending samples when there are no more pending queries
OlivierHecart 5d9ac8d
Apply proper sequencing for history
OlivierHecart 2305b41
Improve AdvancedSubscriber
OlivierHecart 883885b
Code reorg
OlivierHecart 3201700
Code reorg
OlivierHecart ded789c
Fix deduplication
OlivierHecart e033553
Subscribe to liveliness tokens with history
OlivierHecart acaf341
Update builders
OlivierHecart ef63165
Add examples
OlivierHecart 788a8e5
Fix rustdoc
OlivierHecart a40639c
Move stuff in State
OlivierHecart e1caa06
Code reorg
OlivierHecart ee1895f
Add smaple_miss_callback
OlivierHecart c8a43d1
Add sample miss test
OlivierHecart d11243d
Update z_advanced_sub example
OlivierHecart eb6dbf6
Explicit use in examples
OlivierHecart ee93de1
Update API
OlivierHecart 596d0ed
Fix rustdoc
OlivierHecart 35ae472
Allow sample miss detection when recovery disabled
OlivierHecart 52bec17
Add miss_sample_callback to DataSubscriberBuilderExt
OlivierHecart a16d64c
Add sample_miss_detection to PublisherBuilderExt
OlivierHecart 5662f34
Add test_advanced_sample_miss test
OlivierHecart 18adcc7
Merge branch 'main' into dev/advanced_pubsub
OlivierHecart 6da5655
Deliver sample even when no miss callback
OlivierHecart 3449d73
Replace sample_miss_callback with sample_miss_listener
OlivierHecart 76344c9
Merge branch 'main' into dev/advanced_pubsub
OlivierHecart ba72a96
Fix clippy warnings
OlivierHecart 4df529e
Fix tests
OlivierHecart 443d540
Add HistoryConf max_samples option
OlivierHecart f9c7d0e
Add HistoryConf max_age option
OlivierHecart 3b28b04
Use BTreeMap
OlivierHecart 9e7a99b
Add meta_keyexpr option
OlivierHecart 43d9d79
Add late_joiner_detection and meta_keyexpr options on Subcriber side
OlivierHecart 54dc83c
Renaming
OlivierHecart aacea79
Merge branch 'main' into dev/advanced_pubsub
OlivierHecart 9d18085
Fix compilation issues
OlivierHecart 7d3ab8d
Remove AdvancedCache from public API
OlivierHecart e59e76b
Update Session admin to match AdvancedSub
OlivierHecart 71ce64b
Gather constants
OlivierHecart 8810b37
Fix doc build
OlivierHecart dba1d50
Renaming
OlivierHecart 95ce535
Mark PublicationCache and QueryingSubscriber as deprecated and remove…
OlivierHecart 6023920
Remove z_pub_cache and z_query_sub entries from zenoh-ext examples RE…
OlivierHecart dbd7d22
Add z_advanced_pub and z_advanced_sub to zenoh-ext examples Cargo.toml
OlivierHecart 7537985
Add CacheConfig replies_qos option
OlivierHecart f850eaa
Call cache directly from publisher
OlivierHecart 1799a95
Update doc
OlivierHecart feeb7ef
Add missing unstable tags
OlivierHecart cd68431
Add missing unstable tags
OlivierHecart c9cc963
Add missing unstable tags
OlivierHecart 2d6550d
Add unstable tag everywhere
OlivierHecart ab05e1e
Add missing AdvancedSubscriber methods
OlivierHecart 1bae945
Fix WeakSession::Session internal function
OlivierHecart 5ca2e50
Expose missing SampleMissListener and related structs
OlivierHecart 7c374c4
Add AdvancedPublisherBuilderExt::advanced function
OlivierHecart 0ffb133
Add missing AdvancedPublisherBuilder functions
OlivierHecart dc9200c
Fix doctests
OlivierHecart 6e9f9b9
Expose Miss struct
OlivierHecart d3a78a0
impl QoSBuilderTrait for AdvancedPublisherBuilder
OlivierHecart 7332d02
Propagate PublisherBuilder values to AdvancedPublisherBuilder
OlivierHecart b63c080
Rename AdvancedSubscriber::close()
OlivierHecart 4aaca6e
Add unstable tags
OlivierHecart a8bb82f
Add AdvancedSubscriber::detect_publishers function
OlivierHecart 2df37bc
Remove debug println
OlivierHecart fe51436
Renaming
OlivierHecart 0bc7233
Add unstable tags
OlivierHecart 00963f3
Use std Range
OlivierHecart 3c6ba61
Spawn Timer in a tokio runtime
OlivierHecart 18682ff
Fix panic when last_delivered is None
OlivierHecart 24e1ede
Release lock before calling get
OlivierHecart 87acf15
Update key mapping
OlivierHecart 6332331
Improve doc
OlivierHecart b807ee8
fix: fix callback API (#1647)
wyfo 2096085
Update doc
OlivierHecart dce3304
Fix ke_liveliness
OlivierHecart e547a23
Fix doc
OlivierHecart e870d79
Fix doc
OlivierHecart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would like having some
config: impl Into<CacheConfig>
, together withimpl From<usize> for CacheConfig
, but I assume that's not for the first version, is it?