{"id":22538395,"url":"https://github.com/shuttle/shuttle.recall.sql.eventprocessing","last_synced_at":"2025-03-28T06:43:32.346Z","repository":{"id":66349412,"uuid":"95705011","full_name":"Shuttle/Shuttle.Recall.Sql.EventProcessing","owner":"Shuttle","description":"Projection implementation backed by any Sql-based database.","archived":false,"fork":false,"pushed_at":"2025-02-01T11:06:21.000Z","size":211,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T07:28:52.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shuttle.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":"2017-06-28T19:37:22.000Z","updated_at":"2024-08-05T15:32:37.000Z","dependencies_parsed_at":"2024-05-03T15:32:22.535Z","dependency_job_id":"f2cec30c-6b4d-46da-a67d-3236d59b57b8","html_url":"https://github.com/Shuttle/Shuttle.Recall.Sql.EventProcessing","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Recall.Sql.EventProcessing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Recall.Sql.EventProcessing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Recall.Sql.EventProcessing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shuttle%2FShuttle.Recall.Sql.EventProcessing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shuttle","download_url":"https://codeload.github.com/Shuttle/Shuttle.Recall.Sql.EventProcessing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245984556,"owners_count":20704794,"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":[],"created_at":"2024-12-07T11:11:52.538Z","updated_at":"2025-03-28T06:43:32.324Z","avatar_url":"https://github.com/Shuttle.png","language":"C#","readme":"# Sql Server\r\n\r\n```\r\nPM\u003e Install-Package Shuttle.Recall.Sql.EventProcessing\r\n```\r\n\r\nA Sql Server implementation of the `Shuttle.Recall` event sourcing mechanism.\r\n\r\n## Configuration\r\n\r\n```c#\r\nservices.AddSqlEventProcessing(builder =\u003e \r\n{\r\n\tbuilder.Options.EventProjectionConnectionStringName = \"event-projection-connection-string-name\";\r\n\tbuilder.Options.EventStoreConnectionStringName = \"event-store-connection-string-name\";\r\n});\r\n\r\nservices.AddEventStore(builder =\u003e\r\n{\r\n    builder.AddEventHandler\u003cProjectionNameHandler\u003e(\"ProjectionName\");\r\n});\r\n```\r\n\r\nThe default JSON settings structure is as follows:\r\n\r\n```json\r\n{\r\n  \"Shuttle\": {\r\n    \"EventProcessing\": {\r\n      \"EventProjectionConnectionStringName\": \"event-projection-connection-string-name\",\r\n      \"EventStoreConnectionStringName\": \"event-store-connection-string-name\"\r\n    }\r\n  }\r\n}\r\n```\r\n## Database\r\n\r\nIn order to create the relevant database structures execute the relevant `ProjectionCreate.sql` script:\r\n\r\n```\r\n%userprofile%\\.nuget\\packages\\shuttle.recall.sql.eventprocessing\\{version}\\scripts\\{provider}\\ProjectionCreate.sql\r\n```\r\n\r\n## Supported providers\r\n\r\n- `Microsoft.Data.SqlClient`\r\n- `System.Data.SqlClient`\r\n\r\nIf you'd like support for another SQL-based provider please feel free to give it a bash and send a pull request if you *do* go this route.  You are welcome to create an issue and assistance will be provided where possible.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuttle%2Fshuttle.recall.sql.eventprocessing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuttle%2Fshuttle.recall.sql.eventprocessing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuttle%2Fshuttle.recall.sql.eventprocessing/lists"}