{"id":21399309,"url":"https://github.com/streamr-dev/streamr-flink","last_synced_at":"2026-01-03T12:06:20.751Z","repository":{"id":57727309,"uuid":"208784170","full_name":"streamr-dev/streamr-flink","owner":"streamr-dev","description":"Streamr integration library for Apache Flink","archived":false,"fork":false,"pushed_at":"2019-09-16T12:18:52.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T03:45:44.892Z","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/streamr-dev.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}},"created_at":"2019-09-16T11:35:21.000Z","updated_at":"2019-09-16T12:18:55.000Z","dependencies_parsed_at":"2022-09-26T21:51:21.220Z","dependency_job_id":null,"html_url":"https://github.com/streamr-dev/streamr-flink","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamr-dev%2Fstreamr-flink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamr-dev%2Fstreamr-flink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamr-dev%2Fstreamr-flink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamr-dev%2Fstreamr-flink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamr-dev","download_url":"https://codeload.github.com/streamr-dev/streamr-flink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243892359,"owners_count":20364686,"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":[],"created_at":"2024-11-22T15:14:03.937Z","updated_at":"2026-01-03T12:06:15.728Z","avatar_url":"https://github.com/streamr-dev.png","language":"Java","readme":"#  Streamr Integeration library for Apache Flink\n## How to use\n\nAdd this to your pom-xml file:\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.streamr.labs\u003c/groupId\u003e\n  \u003cartifactId\u003estreamr_flink\u003c/artifactId\u003e\n  \u003cversion\u003e0.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nImport the Streamr subscriber or publisher for Flink with:\n```\nimport com.streamr.labs.streamr_flink.StreamrPublish;\nimport com.streamr.labs.streamr_flink.StreamrSubscribe;\n```\n\nExample code:\n``` java\nfinal StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();\nStreamrSubscribe streamrSub = new StreamrSubscribe(\"YOUR_STREAMR_API_KEY\", \"YOUR_SUB_STREAM_ID\");\nStreamrPublish streamPub = new StreamrPublish(\"YOUR_STREAMR_APIKEY\", \"YOUR_PUB_STREAM_ID\");\n\nDataStreamSource\u003cMap\u003cString, Object\u003e\u003e tramDataSource = env.addSource(streamrSub);\n// Filter the 6T trams.\nDataStream\u003cMap\u003cString, Object\u003e\u003e stream = tramDataSource.filter(new FilterFunction\u003cMap\u003cString, Object\u003e\u003e() {\n  @Override\n  public boolean filter(Map\u003cString, Object\u003e s) throws Exception {\n    return (s.containsKey(\"desi\") \u0026\u0026 s.get(\"desi\").toString().contains(\"6\"));\n  }\n});\n// Add the publish sink\nstream.print();\nstream.addSink(streamPub);\n\nenv.execute(\"Trams\");\n```\n\nFor more info go to https://github.com/streamr-dev/streamr-apache-flink-integration\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamr-dev%2Fstreamr-flink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamr-dev%2Fstreamr-flink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamr-dev%2Fstreamr-flink/lists"}