{"id":13569744,"url":"https://github.com/MyLanPangzi/flink-demo","last_synced_at":"2025-04-04T06:31:12.451Z","repository":{"id":102562914,"uuid":"337887770","full_name":"MyLanPangzi/flink-demo","owner":"MyLanPangzi","description":"Flink Demo ","archived":false,"fork":false,"pushed_at":"2023-07-19T09:10:45.000Z","size":1709,"stargazers_count":41,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-05T02:35:44.773Z","etag":null,"topics":["flink","flink-examples","flink-sql"],"latest_commit_sha":null,"homepage":"","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/MyLanPangzi.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":"2021-02-11T00:03:40.000Z","updated_at":"2024-09-30T05:42:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"154f7054-6f90-4816-b364-41d2e0a5b8fe","html_url":"https://github.com/MyLanPangzi/flink-demo","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/MyLanPangzi%2Fflink-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyLanPangzi%2Fflink-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyLanPangzi%2Fflink-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MyLanPangzi%2Fflink-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MyLanPangzi","download_url":"https://codeload.github.com/MyLanPangzi/flink-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247134401,"owners_count":20889396,"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":["flink","flink-examples","flink-sql"],"created_at":"2024-08-01T14:00:43.617Z","updated_at":"2025-04-04T06:31:11.468Z","avatar_url":"https://github.com/MyLanPangzi.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# flink-demo\n\nsql 代码混合执行\n\n```sql\n\ncall com.hiscat.flink.cdc.function.MysqlCdcSourceRegister;\n\nCREATE TABLE ods_binlog_default\n(\n    `key`   STRING,\n    `value` STRING,\n    `topic` STRING METADATA FROM 'topic'\n) WITH (\n    'connector' = 'route-kafka',\n    'topic' = 'ods_binlog_default',\n    'properties.bootstrap.servers' = 'localhost:9092',\n    'key.format' = 'raw',\n    'key.fields' = 'key',\n    'value.format' = 'raw',\n    'value.fields-include' = 'EXCEPT_KEY',\n    'properties.compression.type' = 'gzip',\n    'properties.linger.ms' = '1000'\n );\n\nINSERT INTO ods_binlog_default\nSELECT `key`, `value`, get_topic(`db`, `table`)\nFROM cdc;\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMyLanPangzi%2Fflink-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMyLanPangzi%2Fflink-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMyLanPangzi%2Fflink-demo/lists"}