{"id":36419570,"url":"https://github.com/eleventigers/rxbus","last_synced_at":"2026-01-11T17:05:06.396Z","repository":{"id":57737274,"uuid":"38108174","full_name":"eleventigers/rxbus","owner":"eleventigers","description":"Event bus running on type safe RxJava queues","archived":false,"fork":false,"pushed_at":"2017-02-14T07:48:23.000Z","size":233,"stargazers_count":26,"open_issues_count":3,"forks_count":6,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2025-01-21T09:49:38.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eleventigers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-26T11:44:54.000Z","updated_at":"2024-07-04T02:38:08.000Z","dependencies_parsed_at":"2022-08-24T14:59:41.060Z","dependency_job_id":null,"html_url":"https://github.com/eleventigers/rxbus","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/eleventigers/rxbus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleventigers%2Frxbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleventigers%2Frxbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleventigers%2Frxbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleventigers%2Frxbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eleventigers","download_url":"https://codeload.github.com/eleventigers/rxbus/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eleventigers%2Frxbus/sbom","scorecard":{"id":372344,"data":{"date":"2025-08-11","repo":{"name":"github.com/eleventigers/rxbus","commit":"30aec7ed250529b9448d74090e608834573d61d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T13:16:41.525Z","repository_id":57737274,"created_at":"2025-08-18T13:16:41.525Z","updated_at":"2025-08-18T13:16:41.525Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28314264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-11T17:05:06.316Z","updated_at":"2026-01-11T17:05:06.378Z","avatar_url":"https://github.com/eleventigers.png","language":"Java","funding_links":[],"categories":["进程间通信"],"sub_categories":["微服务框架"],"readme":"RxBus\n=====\nEvent bus running on type safe RxJava queues\n\nDownload\n--------\nGradle:\n```groovy\ncompile 'net.jokubasdargis.rxbus:rxbus:2.0.0'\n\n// Optional\ncompile 'net.jokubasdargis.rxbus:rxbus-android:2.0.0'\ncompile 'net.jokubasdargis.rxbus:rxbus-dispatcher:2.0.0'\n```\n\nSnapshots of the development version are available in [Sonatype's `snapshots` repository][snap].\n\nUsage\n-----\n\n**Basic use - event delivery transport tightly coupled by an event type**\n\n* Create a default bus\n\n  ```java\n  Bus bus = RxBus.create();\n  ```\n\n  or if you are on Android:\n\n  ```java\n  Bus bus = RxAndroidBus.create();\n  ```\n\n* Prepare a Queue for an event type. You might want to maintain a collection of static queues as:\n\n  ```java\n  public final class Queues {\n    public static final Queue\u003cEvent\u003e TRACKING  = Queue.of(TrackingEvent.class).build();\n  }\n  ```\n\n* Use a queue when subscribing\n\n  ```java\n  Subscription subscription = bus.subscribe(Queues.TRACKING, new Observer\u003cEvent\u003e {\n    ...\n    @Override\n    public void onNext(TrackingEvent event) {\n      // do something with the event\n    }\n  })\n  ```\n\n* and publishing:\n\n  ```java\n  bus.publish(Queues.TRACKING, new TrackingEvent())\n  ```\n\n\nOrigin\n------\nAdapted from Soundcloud's reactive bus appraoch as seen in [mttkay's](https://github.com/mttkay) [Reactive Soundcloud](https://speakerdeck.com/mttkay/reactive-soundcloud-tackling-complexity-in-large-applications) slides:\n\n![bus](/assets/eventbus_1.jpg)\n\n![bus](/assets/eventbus_2.jpg)\n\nLicense\n-------\n\n    Copyright 2016 Jokubas Dargis\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n [snap]: https://oss.sonatype.org/content/repositories/snapshots/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleventigers%2Frxbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feleventigers%2Frxbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feleventigers%2Frxbus/lists"}