{"id":19027600,"url":"https://github.com/getcontrol/kafka","last_synced_at":"2025-08-15T14:07:22.236Z","repository":{"id":106665966,"uuid":"253305595","full_name":"getcontrol/kafka","owner":"getcontrol","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-05T18:41:29.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T19:44:37.920Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getcontrol.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":"2020-04-05T18:36:20.000Z","updated_at":"2020-04-05T18:41:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c962678a-e9ee-42a7-bd9f-6dacb2d5693e","html_url":"https://github.com/getcontrol/kafka","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getcontrol/kafka","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2Fkafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2Fkafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2Fkafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2Fkafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getcontrol","download_url":"https://codeload.github.com/getcontrol/kafka/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getcontrol%2Fkafka/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270579613,"owners_count":24610044,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-08T21:08:41.918Z","updated_at":"2025-08-15T14:07:22.227Z","avatar_url":"https://github.com/getcontrol.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flink Twitter TopN\nFind top N hashtags associated with tweets containing specific terms\n\n# How do I configure things?\nYou can just the value for topN and the list of hashtags to extract by modifying:\n```java\npublic static final Integer HASHTAG_LIMIT = 20;\npublic static final List\u003cString\u003e TagArray = new ArrayList\u003cString\u003e(Arrays.asList(\"NASA\", \"Discovery\", \"Interstellar\"));\n```\n\n# How to run?\n\n## Eventador Project\nUse the entrypoint class ```io.eventador.flinktwitter.FlinkTwitter```.\n\nPass the following parameters:\n\n```\n--consumer_key \"YOUR_CONSUMER_KEY\" --consumer_secret \"YOUR_CONSUMER_SECRET\" --token \"YOUR_TOKEN\" --token_secret \"YOUR_TOKEN_SECRET\" --topic \"hashtags\" --bootstrap.servers $EVENTADOR_KAFKA_BROKERS\n```\n\n## Local Testing\nFirst, you can execute this locally, without using a Flink cluster, by simply\nediting pom.xml, and update the commandlineArgs section to contain your valid\nTwitter API keys, and then build and run:\n\n```bash\n$ mvn clean package\n$ mvn exec:java\n```\n\n(You can get new Twitter API keys by visiting https://apps.twitter.com/\nand creating a new test application.)\n\nOnce you've done that, simply build the JAR with\n\n```bash\n$ mvn clean package\n```\n\nand then submit it to the cluster by using the script.  If it's working, you'll see output\nboth in stdout, and if you have a Kafka endpoint, in the Kafka topic that you've selected.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetcontrol%2Fkafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetcontrol%2Fkafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetcontrol%2Fkafka/lists"}