{"id":19693845,"url":"https://github.com/aiven-open/http-connector-for-apache-kafka","last_synced_at":"2025-04-05T14:03:01.735Z","repository":{"id":37923531,"uuid":"213379441","full_name":"Aiven-Open/http-connector-for-apache-kafka","owner":"Aiven-Open","description":"Apache Kafka Connect sink connector for HTTP","archived":false,"fork":false,"pushed_at":"2025-03-01T09:14:32.000Z","size":729,"stargazers_count":106,"open_issues_count":28,"forks_count":49,"subscribers_count":67,"default_branch":"main","last_synced_at":"2025-03-29T13:03:45.611Z","etag":null,"topics":["http","kafka","kafka-connect"],"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/Aiven-Open.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-07T12:38:50.000Z","updated_at":"2025-03-24T03:54:46.000Z","dependencies_parsed_at":"2023-07-26T10:50:23.261Z","dependency_job_id":"d10741b0-044d-47a9-9d8c-d8a427398a39","html_url":"https://github.com/Aiven-Open/http-connector-for-apache-kafka","commit_stats":null,"previous_names":["aiven-open/http-connector-for-apache-kafka"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Fhttp-connector-for-apache-kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Fhttp-connector-for-apache-kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Fhttp-connector-for-apache-kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Fhttp-connector-for-apache-kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aiven-Open","download_url":"https://codeload.github.com/Aiven-Open/http-connector-for-apache-kafka/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345848,"owners_count":20924102,"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":["http","kafka","kafka-connect"],"created_at":"2024-11-11T19:18:24.548Z","updated_at":"2025-04-05T14:03:01.716Z","avatar_url":"https://github.com/Aiven-Open.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aiven's HTTP Sink Connector for Apache Kafka®\n\n![HTTP logo](docs/IETF-Badge-HTTP.png)\n\nThis is a sink [Apache Kafka Connect](https://kafka.apache.org/documentation/#connect) connector that sends Kafka records over HTTP.\n\n## Status\n\nWe consider the connector **stable** despite the major version is currently 0.\n\n## How it works\n\nThe connector uses the POST HTTP method to deliver records.\n\nThe connector supports:\n- authorization (static, OAuth2);\n- setting HTTP headers;\n- batching;\n- delivery retries.\n\nAn example of configuration (file `connect-http-sink.json`):\n\n```json\n{\n  \"name\": \"http-sink-test\",\n  \"config\": {\n    \"connector.class\": \"io.aiven.kafka.connect.http.HttpSinkConnector\",\n    \"topics.regex\": \"domain_a.*\",\n    \"http.authorization.type\": \"none\",\n    \"http.url\": \"http://httpmockserver:1080\",\n    \"batching.enabled\": true,\n    \"batch.max.size\": 2,\n    \"tasks.max\": \"1\",\n    \"key.converter\": \"org.apache.kafka.connect.storage.StringConverter\",\n    \"value.converter\": \"org.apache.kafka.connect.json.JsonConverter\"\n  }\n}\n```\n\nThen deploy the connector configuration against the Kafka Connect REST API with the following command:\n\n```shell\ncurl -d @config/connect-http-sink.json -H \"Content-Type: application/json\" -X POST http://localhost:8083/connectors\n```\n\nSee the [configuration options](docs/sink-connector-config-options.rst) for details.\n\n## Development\n\nThe connector supports Java 11 or later. It uses [Gradle](https://gradle.org/) for building and automating tasks.\n\nTo build a distribution:\n```bash\n./gradlew clean check distTar distZip\n```\n(check `build/distributions/` then).\n\nIntegration tests can be run with\n```bash\n./gradlew integrationTest\n```\nand require [Docker](https://www.docker.com/) installed.\n\n# Formatting\n\nCheckstyle is used for verifying code formatting.\nFor misc files Spotless is used.\n\nBoth are run on Gradle `check` target. Spotless formatting can be done with\n```bash\n./gradlew spotlessApply\n```\n\n## License\n\nThis project is licensed under the [Apache License, Version 2.0](LICENSE).\n\n## Trademark\n\nApache Kafka, Apache Kafka Connect are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiven-open%2Fhttp-connector-for-apache-kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiven-open%2Fhttp-connector-for-apache-kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiven-open%2Fhttp-connector-for-apache-kafka/lists"}