{"id":19221275,"url":"https://github.com/dheeraj135/publisher-subscriber-pattern","last_synced_at":"2025-10-25T06:31:40.250Z","repository":{"id":123709287,"uuid":"314752172","full_name":"dheeraj135/Publisher-Subscriber-Pattern","owner":"dheeraj135","description":"Implementation of Publisher Subscriber message passing pattern and Master-Slave replication pattern.","archived":false,"fork":false,"pushed_at":"2020-11-29T14:58:31.000Z","size":513,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T20:17:04.805Z","etag":null,"topics":["java","master-slave","publisher-subscriber-pattern"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dheeraj135.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-21T06:52:10.000Z","updated_at":"2020-11-29T14:58:32.000Z","dependencies_parsed_at":"2023-06-15T21:15:23.263Z","dependency_job_id":null,"html_url":"https://github.com/dheeraj135/Publisher-Subscriber-Pattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dheeraj135%2FPublisher-Subscriber-Pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dheeraj135%2FPublisher-Subscriber-Pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dheeraj135%2FPublisher-Subscriber-Pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dheeraj135%2FPublisher-Subscriber-Pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dheeraj135","download_url":"https://codeload.github.com/dheeraj135/Publisher-Subscriber-Pattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240295435,"owners_count":19778888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["java","master-slave","publisher-subscriber-pattern"],"created_at":"2024-11-09T14:40:45.875Z","updated_at":"2025-10-25T06:31:40.174Z","avatar_url":"https://github.com/dheeraj135.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Publisher Subscriber Pattern\n\n### How to Run and test?\n- Compile all source files using ```javac *.java```\n- The ShardCoord is responsible for running all ShardRegion instances.\n- Run RMI registry using ```rmiregistry```.\n- Create a new terminal tab using Ctrl+Shift+T for each of the below commands.\n- Run Server using ```java Server```. Run Publisher using ```java Publisher```. Run Subscribers using ```java Subscriber``` multiple times. You can subscribe to a topic in a server using \"S topic_name\" and unsubscribe using \"U topic_name\". To send to a particular topic from Publisher, use \"topic_name message\".\n- Alternatively, you can also create and run the test cases using ```java Verifier```. This will create the test cases in ```tests/input.txt```. It will also then run the test cases using our code and produce the output in ```logs/``` directory. It will also create expected_output for the test cases in ```tests/expected_output/``` directory.  It will then diff the contents of files in ```logs/``` and ```tests/expected_output/``` to see if correct result is being produced and will prompt if all test cases have passed or not.\n\n### UML Class Diagram\nUML Diagram is in uml.png.\n![UML Diagram](uml.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdheeraj135%2Fpublisher-subscriber-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdheeraj135%2Fpublisher-subscriber-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdheeraj135%2Fpublisher-subscriber-pattern/lists"}