{"id":25176695,"url":"https://github.com/conduitio/conduit-connector-log","last_synced_at":"2025-05-06T23:20:47.976Z","repository":{"id":62889480,"uuid":"561871198","full_name":"ConduitIO/conduit-connector-log","owner":"ConduitIO","description":"Conduit connector that logs records","archived":false,"fork":false,"pushed_at":"2025-05-06T15:15:37.000Z","size":323,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-06T16:41:08.375Z","etag":null,"topics":["conduit","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConduitIO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-11-04T17:21:08.000Z","updated_at":"2025-05-06T15:15:39.000Z","dependencies_parsed_at":"2023-12-15T14:26:05.162Z","dependency_job_id":"23ec13bc-85c7-4f5b-b5aa-f14fe0e15ff9","html_url":"https://github.com/ConduitIO/conduit-connector-log","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":"ConduitIO/conduit-connector-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConduitIO%2Fconduit-connector-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConduitIO%2Fconduit-connector-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConduitIO%2Fconduit-connector-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConduitIO%2Fconduit-connector-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConduitIO","download_url":"https://codeload.github.com/ConduitIO/conduit-connector-log/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252783659,"owners_count":21803546,"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":["conduit","go","golang"],"created_at":"2025-02-09T13:17:54.941Z","updated_at":"2025-05-06T23:20:47.957Z","avatar_url":"https://github.com/ConduitIO.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conduit Connector Log\n\nA [Conduit](https://conduit.io) destination connector that simply logs records.\n\n\u003c!-- readmegen:description --\u003e\n## Destination\n\nThe destination connector logs records using the built-in Conduit logger.\n\nExample log message:\n\n```\n{\"level\":\"info\",\"record\":{\"position\":\"cjI=\",\"operation\":\"create\",\"metadata\":{\"foo\":\"bar\",\"opencdc.version\":\"v1\"},\"key\":{\"my-id-field\":1},\"payload\":{\"before\":nil,\"after\":{\"my-payload-field\":false}}}}\n```\n\nNote that the `position` field is base64 encoded, same goes for a key or payload\nthat contains raw byte data.\n\nKeep in mind that Conduit's log level needs to be configured lower or equal to\nthe log level of the connector in order for the records to show up in the logs.\n\u003c!-- /readmegen:description --\u003e\n\n## Configuration\n\n\u003c!-- readmegen:destination.parameters.yaml --\u003e\n```yaml\nversion: 2.2\npipelines:\n  - id: example\n    status: running\n    connectors:\n      - id: example\n        plugin: \"log\"\n        settings:\n          # The log level used to log records.\n          # Type: string\n          # Required: no\n          level: \"info\"\n          # Optional message that should be added to the log output of every\n          # record.\n          # Type: string\n          # Required: no\n          message: \"\"\n          # Maximum delay before an incomplete batch is written to the\n          # destination.\n          # Type: duration\n          # Required: no\n          sdk.batch.delay: \"0\"\n          # Maximum size of batch before it gets written to the destination.\n          # Type: int\n          # Required: no\n          sdk.batch.size: \"0\"\n          # Allow bursts of at most X records (0 or less means that bursts are\n          # not limited). Only takes effect if a rate limit per second is set.\n          # Note that if `sdk.batch.size` is bigger than `sdk.rate.burst`, the\n          # effective batch size will be equal to `sdk.rate.burst`.\n          # Type: int\n          # Required: no\n          sdk.rate.burst: \"0\"\n          # Maximum number of records written per second (0 means no rate\n          # limit).\n          # Type: float\n          # Required: no\n          sdk.rate.perSecond: \"0\"\n          # The format of the output record. See the Conduit documentation for a\n          # full list of supported formats\n          # (https://conduit.io/docs/using/connectors/configuration-parameters/output-format).\n          # Type: string\n          # Required: no\n          sdk.record.format: \"opencdc/json\"\n          # Options to configure the chosen output record format. Options are\n          # normally key=value pairs separated with comma (e.g.\n          # opt1=val2,opt2=val2), except for the `template` record format, where\n          # options are a Go template.\n          # Type: string\n          # Required: no\n          sdk.record.format.options: \"\"\n          # Whether to extract and decode the record key with a schema.\n          # Type: bool\n          # Required: no\n          sdk.schema.extract.key.enabled: \"true\"\n          # Whether to extract and decode the record payload with a schema.\n          # Type: bool\n          # Required: no\n          sdk.schema.extract.payload.enabled: \"true\"\n```\n\u003c!-- /readmegen:destination.parameters.yaml --\u003e\n\n## How to build?\n\nRun `make build` to build the connector.\n\n## Testing\n\nRun `make test` to run all the unit tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconduitio%2Fconduit-connector-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconduitio%2Fconduit-connector-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconduitio%2Fconduit-connector-log/lists"}