{"id":14966152,"url":"https://github.com/mempko/pkafka","last_synced_at":"2025-10-25T16:30:41.541Z","repository":{"id":67766772,"uuid":"48940011","full_name":"mempko/PKafka","owner":"mempko","description":"Perl 6 client for Apache Kafka","archived":false,"fork":false,"pushed_at":"2017-04-26T02:11:50.000Z","size":30,"stargazers_count":13,"open_issues_count":4,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T07:51:28.090Z","etag":null,"topics":["kafka","perl6"],"latest_commit_sha":null,"homepage":null,"language":"Perl6","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mempko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-01-03T09:05:21.000Z","updated_at":"2020-12-31T02:08:05.000Z","dependencies_parsed_at":"2023-02-23T20:46:11.741Z","dependency_job_id":null,"html_url":"https://github.com/mempko/PKafka","commit_stats":{"total_commits":31,"total_committers":4,"mean_commits":7.75,"dds":0.09677419354838712,"last_synced_commit":"c3b63cf5306357afd0c6250dc228c13ea8291ca8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mempko%2FPKafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mempko%2FPKafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mempko%2FPKafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mempko%2FPKafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mempko","download_url":"https://codeload.github.com/mempko/PKafka/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238174107,"owners_count":19428626,"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":["kafka","perl6"],"created_at":"2024-09-24T13:35:55.985Z","updated_at":"2025-10-25T16:30:36.118Z","avatar_url":"https://github.com/mempko.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"PKafka\n======\n\nA Perl 6 client for [Apache Kafka](https://kafka.apache.org/). \nYou can use Perl 6's reactive programming features to 'tap' Kafka topics and process messages.\n\nSYNOPSIS\n======\n\n    use PKafka::Consumer;\n    use PKafka::Message;\n    use PKafka::Producer;\n\n    sub MAIN () \n    {\n        my $brokers = \"127.0.0.1\";\n        my $test = PKafka::Consumer.new( topic=\u003e\"test\", brokers=\u003e$brokers);\n        my $test2 = PKafka::Consumer.new( topic=\u003e\"test2\", brokers=\u003e$brokers);\n        my $producer = PKafka::Producer.new( topic=\u003e\"test2\", brokers=\u003e$brokers);\n\n        $test.messages.tap(-\u003e $msg \n        {\n            given $msg \n            {\n                when PKafka::Message\n                {\n                    say \"got {$msg.offset}: { $msg.payload-str } \";\n                    $producer.put(\"from test '{$msg.payload-str}'\");\n                }\n                when PKafka::EOF\n                {\n                    say \"Messages Consumed { $msg.total-consumed}\";\n                }\n                when PKafka::Error\n                {\n                    say \"Error {$msg.what}\";\n                    $test.stop;\n                }\n            }\n        });\n\n        $test2.messages.tap(-\u003e $msg \n        {\n            given $msg \n            {\n                when PKafka::Message\n                {\n                    say \"got {$msg.offset}: { $msg.payload-str } \";\n                }\n            }\n        });\n\n        my $t1 = $test.consume-from-beginning(partition=\u003e0);\n        my $t2 = $test2.consume-from-beginning(partition=\u003e0);\n\n        await $t1;\n        await $t2;\n    }\n\nDEPENDENCIES\n======\n\nThis library wraps [librdkafka](https://github.com/edenhill/librdkafka) and it requires it to be installed to function.\n\nWARNING\n======\n\nThis library is ALPHA quality software. Please report any bugs and contribute fixes.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmempko%2Fpkafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmempko%2Fpkafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmempko%2Fpkafka/lists"}