{"id":13695973,"url":"https://github.com/ClickHouse/clickhouse-kafka-connect","last_synced_at":"2025-05-03T13:34:11.735Z","repository":{"id":63169948,"uuid":"505744137","full_name":"ClickHouse/clickhouse-kafka-connect","owner":"ClickHouse","description":"ClickHouse Kafka Connector","archived":false,"fork":false,"pushed_at":"2024-08-27T02:11:40.000Z","size":2862,"stargazers_count":144,"open_issues_count":11,"forks_count":40,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-08-27T03:49:24.364Z","etag":null,"topics":["clickhouse","kafka","kafka-connect","sink"],"latest_commit_sha":null,"homepage":"","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/ClickHouse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"Support Scripts.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-21T07:55:37.000Z","updated_at":"2024-08-27T03:49:27.390Z","dependencies_parsed_at":"2023-09-28T15:54:29.747Z","dependency_job_id":"7eaebbb6-b5aa-4179-98d1-aa57339b9d97","html_url":"https://github.com/ClickHouse/clickhouse-kafka-connect","commit_stats":null,"previous_names":[],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-kafka-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-kafka-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-kafka-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClickHouse%2Fclickhouse-kafka-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClickHouse","download_url":"https://codeload.github.com/ClickHouse/clickhouse-kafka-connect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224364496,"owners_count":17299082,"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":["clickhouse","kafka","kafka-connect","sink"],"created_at":"2024-08-02T18:00:35.217Z","updated_at":"2024-11-12T23:31:32.052Z","avatar_url":"https://github.com/ClickHouse.png","language":"Java","funding_links":[],"categories":["大数据","Kafka Connect","Databases","Integrations"],"sub_categories":["Databases","ClickHouse","Data Transfer and Synchronization"],"readme":"# ClickHouse Kafka Connect Sink\n\n## About\nclickhouse-kafka-connect is the official Kafka Connect sink connector for [ClickHouse](https://clickhouse.com/).\n\nThe Kafka connector delivers data from a Kafka topic to a ClickHouse table.\n## Documentation\n\nSee the [ClickHouse website](https://clickhouse.com/docs/en/integrations/kafka/clickhouse-kafka-connect-sink) for the full documentation entry.\n\n## Design\nFor a full overview of the design and how exactly-once delivery semantics are achieved, see the [design document](./docs/DESIGN.md).\n\n## Help\nFor additional help, please [file an issue in the repository](https://github.com/ClickHouse/clickhouse-kafka-connect/issues) or raise a question in [ClickHouse public Slack](https://clickhouse.com/slack).\n\n## KeyToValue Transformation\nWe've created a transformation that allows you to convert a Kafka message key into a value.\nThis is useful when you want to store the key in a separate column in ClickHouse - by default, the column is `_key` and the type is String.\n\n```sql\nCREATE TABLE your_table_name\n(\n    `your_column_name` String,\n    ...\n    ...\n    ...\n    `_key` String\n) ENGINE = MergeTree()\n```\n\nSimply add the transformation to your connector configuration:\n    \n```properties\ntransforms=keyToValue\ntransforms.keyToValue.type=com.clickhouse.kafka.connect.transforms.KeyToValue\ntransforms.keyToValue.field=_key\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FClickHouse%2Fclickhouse-kafka-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FClickHouse%2Fclickhouse-kafka-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FClickHouse%2Fclickhouse-kafka-connect/lists"}