Skip to content
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

fix: fix callback API #1647

Conversation

wyfo
Copy link
Contributor

@wyfo wyfo commented Dec 10, 2024

No description provided.

Copy link

PR missing one of the required labels: {'breaking-change', 'internal', 'bug', 'dependencies', 'new feature', 'enhancement', 'documentation'}

@wyfo wyfo added the internal Changes not included in the changelog label Dec 10, 2024
@OlivierHecart OlivierHecart merged commit b807ee8 into eclipse-zenoh:dev/advanced_pubsub Dec 10, 2024
13 of 14 checks passed
OlivierHecart added a commit that referenced this pull request Dec 11, 2024
* Expose and use ke macro

* Fix SourceInfo publication

* Add AdvancedPublisher AdvancedSubscriber and AdvancedSubscriber

* Fix doctests

* Fix doc warnings

* Remove debug trace

* Add history test

* Fix periodic queries

* Remove debug trace

* Lower test debug level

* Add retransmission tests

* Liveliness sub callback shoud increase pending queries counter

* Liveliness sub callback shoud spawn periodic queries when enbaled

* Add late_joiner test

* Only treat pending samples when there are no more pending queries

* Apply proper sequencing for history

* Improve AdvancedSubscriber

* Code reorg

* Code reorg

* Fix deduplication

* Subscribe to liveliness tokens with history

* Update builders

* Add examples

* Fix rustdoc

* Move stuff in State

* Code reorg

* Add smaple_miss_callback

* Add sample miss test

* Update z_advanced_sub example

* Explicit use in examples

* Update API

* Fix rustdoc

* Allow sample miss detection when recovery disabled

* Add miss_sample_callback to DataSubscriberBuilderExt

* Add sample_miss_detection to PublisherBuilderExt

* Add test_advanced_sample_miss test

* Deliver sample even when no miss callback

* Replace sample_miss_callback with sample_miss_listener

* Fix clippy warnings

* Fix tests

* Add HistoryConf max_samples option

* Add HistoryConf max_age option

* Use BTreeMap

* Add meta_keyexpr option

* Add late_joiner_detection and meta_keyexpr options on Subcriber side

* Renaming

* Fix compilation issues

* Remove AdvancedCache from public API

* Update Session admin to match AdvancedSub

* Gather constants

* Fix doc build

* Renaming

* Mark PublicationCache and QueryingSubscriber as deprecated and remove related examples

* Remove z_pub_cache and z_query_sub entries from zenoh-ext examples README

* Add z_advanced_pub and z_advanced_sub to zenoh-ext examples Cargo.toml

* Add CacheConfig replies_qos option

* Call cache directly from publisher

* Update doc

* Add missing unstable tags

* Add missing unstable tags

* Add missing unstable tags

* Add unstable tag everywhere

* Add missing AdvancedSubscriber methods

* Fix WeakSession::Session internal function

* Expose missing SampleMissListener and related structs

* Add AdvancedPublisherBuilderExt::advanced function

* Add missing AdvancedPublisherBuilder functions

* Fix doctests

* Expose Miss struct

* impl QoSBuilderTrait for AdvancedPublisherBuilder

* Propagate PublisherBuilder values to AdvancedPublisherBuilder

* Rename AdvancedSubscriber::close()

* Add unstable tags

* Add AdvancedSubscriber::detect_publishers function

* Remove debug println

* Renaming

* Add unstable tags

* Use std Range

* Spawn Timer in a tokio runtime

* Fix panic when last_delivered is None

* Release lock before calling get

* Update key mapping

* Improve doc

* fix: fix callback API (#1647)

* Update doc

* Fix ke_liveliness

* Fix doc

* Fix doc

---------

Co-authored-by: Joseph Perez <[email protected]>
milyin pushed a commit that referenced this pull request Dec 11, 2024
* Expose and use ke macro

* Fix SourceInfo publication

* Add AdvancedPublisher AdvancedSubscriber and AdvancedSubscriber

* Fix doctests

* Fix doc warnings

* Remove debug trace

* Add history test

* Fix periodic queries

* Remove debug trace

* Lower test debug level

* Add retransmission tests

* Liveliness sub callback shoud increase pending queries counter

* Liveliness sub callback shoud spawn periodic queries when enbaled

* Add late_joiner test

* Only treat pending samples when there are no more pending queries

* Apply proper sequencing for history

* Improve AdvancedSubscriber

* Code reorg

* Code reorg

* Fix deduplication

* Subscribe to liveliness tokens with history

* Update builders

* Add examples

* Fix rustdoc

* Move stuff in State

* Code reorg

* Add smaple_miss_callback

* Add sample miss test

* Update z_advanced_sub example

* Explicit use in examples

* Update API

* Fix rustdoc

* Allow sample miss detection when recovery disabled

* Add miss_sample_callback to DataSubscriberBuilderExt

* Add sample_miss_detection to PublisherBuilderExt

* Add test_advanced_sample_miss test

* Deliver sample even when no miss callback

* Replace sample_miss_callback with sample_miss_listener

* Fix clippy warnings

* Fix tests

* Add HistoryConf max_samples option

* Add HistoryConf max_age option

* Use BTreeMap

* Add meta_keyexpr option

* Add late_joiner_detection and meta_keyexpr options on Subcriber side

* Renaming

* Fix compilation issues

* Remove AdvancedCache from public API

* Update Session admin to match AdvancedSub

* Gather constants

* Fix doc build

* Renaming

* Mark PublicationCache and QueryingSubscriber as deprecated and remove related examples

* Remove z_pub_cache and z_query_sub entries from zenoh-ext examples README

* Add z_advanced_pub and z_advanced_sub to zenoh-ext examples Cargo.toml

* Add CacheConfig replies_qos option

* Call cache directly from publisher

* Update doc

* Add missing unstable tags

* Add missing unstable tags

* Add missing unstable tags

* Add unstable tag everywhere

* Add missing AdvancedSubscriber methods

* Fix WeakSession::Session internal function

* Expose missing SampleMissListener and related structs

* Add AdvancedPublisherBuilderExt::advanced function

* Add missing AdvancedPublisherBuilder functions

* Fix doctests

* Expose Miss struct

* impl QoSBuilderTrait for AdvancedPublisherBuilder

* Propagate PublisherBuilder values to AdvancedPublisherBuilder

* Rename AdvancedSubscriber::close()

* Add unstable tags

* Add AdvancedSubscriber::detect_publishers function

* Remove debug println

* Renaming

* Add unstable tags

* Use std Range

* Spawn Timer in a tokio runtime

* Fix panic when last_delivered is None

* Release lock before calling get

* Update key mapping

* Improve doc

* fix: fix callback API (#1647)

* Update doc

* feat: add background to advanced subscriber

* Fix ke_liveliness

* fix: add missing mut

* Fix doc

* Fix doc

* Fix zenoh-ext Cargo.toml

---------

Co-authored-by: OlivierHecart <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants