{"id":15789618,"url":"https://github.com/ytake/builderscon-example","last_synced_at":"2025-07-10T09:36:57.872Z","repository":{"id":142963236,"uuid":"98665892","full_name":"ytake/builderscon-example","owner":"ytake","description":"this is a pen","archived":false,"fork":false,"pushed_at":"2017-08-05T04:55:51.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T22:02:31.383Z","etag":null,"topics":["cassandra","example","kafka","php","spark-streaming"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/ytake.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},"funding":{"github":"ytake","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-07-28T16:04:32.000Z","updated_at":"2017-08-03T12:47:08.000Z","dependencies_parsed_at":"2023-06-11T06:00:34.516Z","dependency_job_id":null,"html_url":"https://github.com/ytake/builderscon-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ytake/builderscon-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fbuilderscon-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fbuilderscon-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fbuilderscon-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fbuilderscon-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytake","download_url":"https://codeload.github.com/ytake/builderscon-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytake%2Fbuilderscon-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264559507,"owners_count":23628040,"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":["cassandra","example","kafka","php","spark-streaming"],"created_at":"2024-10-04T22:02:36.412Z","updated_at":"2025-07-10T09:36:57.809Z","avatar_url":"https://github.com/ytake.png","language":"PHP","readme":"# builderscon-example\n\nrequired php7.1, Scala2.11.11, Vagrant\n\ninclude Cassandra 3.11, Kafka 0.11.0, Spark 2.2.0  \n\n## SetUp\n\n### Beginning\n\n```bash\n$ vagrant up\n```\n\n### Cassandra DDL\n\n```bash\n$ cd builderscon-example/bin\n$ ./create.sh\n```\n\n### Composer\n\n```bash\n$ composer install\n```\n\n## Sample\nこのサンプルはkafkaのmessage-topicにメッセージを送信し、\nSpark Streamingでメッセージごとの集計を行い、Cassandraへ保存するサンプルです。\n保存結果は `192.168.10.10` にアクセスしてください、\njsonで結果が返却されます。\n\n### producer\nkafkaにメッセージを送信します\n\n```\n$ php kafka-console kafka:produce message-topic hello\n```\n\n*helloの部分適当な文字列を入れてください*\n\n### consumer\nkafkaに送られたメッセージを取得します\n\n```\n$ php kafka-console kafka:consume message-topic\n```\n\n## Spark Streaming Sample Application\nspark streamingの実行は下記を参照してください\n\n[stremaing sample readme](/spark-streams/README.md).\n\n## Spark UI\n\nspark-submit実行中は下記にアクセスすることで稼働状況が描画されます\n\nspark-shell\nhttp://192.168.10.10:4040/\n\n## Kafka trifecta\n\nkafkaのtopic確認などは下記にアクセスしてください\n\nhttp://192.168.10.10:8888/\n\n\n\n","funding_links":["https://github.com/sponsors/ytake"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytake%2Fbuilderscon-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytake%2Fbuilderscon-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytake%2Fbuilderscon-example/lists"}