{"id":27284349,"url":"https://github.com/ignytis/send2kafka","last_synced_at":"2025-04-11T18:58:07.136Z","repository":{"id":215348185,"uuid":"738726343","full_name":"ignytis/send2kafka","owner":"ignytis","description":"A HTTP interface for sending messages to Kafka","archived":false,"fork":false,"pushed_at":"2024-04-10T19:22:32.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-11T02:11:58.692Z","etag":null,"topics":["actix","kafka","kafka-producer","librdkafka","rust","rust-server"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ignytis.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}},"created_at":"2024-01-03T22:45:51.000Z","updated_at":"2024-04-14T20:25:10.526Z","dependencies_parsed_at":"2024-01-04T00:20:19.478Z","dependency_job_id":"917dd87e-f7bd-4752-b2ef-1d2d8fa9f6f2","html_url":"https://github.com/ignytis/send2kafka","commit_stats":null,"previous_names":["ignytis/send2kafka"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignytis%2Fsend2kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignytis%2Fsend2kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignytis%2Fsend2kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ignytis%2Fsend2kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ignytis","download_url":"https://codeload.github.com/ignytis/send2kafka/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465290,"owners_count":21108243,"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":["actix","kafka","kafka-producer","librdkafka","rust","rust-server"],"created_at":"2025-04-11T18:58:06.418Z","updated_at":"2025-04-11T18:58:07.130Z","avatar_url":"https://github.com/ignytis.png","language":"Rust","readme":"# send2kafka\n\nStatus: WIP\n\n## Configuration\n\n### General\n\nConfig could be provided in two ways:\n- Environment variables e.g. `SEND2KAFKA__HTTP__HOST=localhost`\n- YAML file, see the example in the next section\n  - By default: a `config.yaml` file in current working directory\n  - Could be overridden using `SEND2KAFKA__CONFIG` environment variable\n\n_NB: for Kafka attributes you need to use single `_` instead of `.`: `SEND2KAFKA__KAFKA__BOOTSTRAP_SERVERS=localhost:1234`.\nSingle underscores will be replaced with dots automatically.\nThe configuration library uses dots as separators which conflicts with Kafka property format.\nIn addition, environment variable names are not supposed to have dots._\n\n\n### Parameters\n\nThere are default values provided in the snippet below:\n\n```yaml\nhttp:\n  host: 0.0.0.0\n  port: 8080\n  # num_workers: 0  # Optional. If not specified, it will be calculated automatically: https://actix.rs/docs/server/#multi-threading\nkafka:\n  bootstrap_servers: localhost:9092\n  # Here you can provide additional Kafka parameters, for example:\n  # sasl_mechanism: SCRAM-SHA-256\n  # security_protocol: SASL_PLAINTEXT\n  # sasl_username: me\n  # sasl_password: mypassword\n```\n\n## API\n\n### POST /topics/\u003ctopic_name\u003e\n\nSends a message to Kafka topic. Message payload should be provided as a message body.\nThe message key could be specified using the optional _X-Key_ HTTP header","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignytis%2Fsend2kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fignytis%2Fsend2kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fignytis%2Fsend2kafka/lists"}