{"id":15523998,"url":"https://github.com/cuteant/eventstore-dotnetty-fork","last_synced_at":"2025-04-23T07:24:30.929Z","repository":{"id":91832032,"uuid":"115216818","full_name":"cuteant/EventStore-DotNetty-Fork","owner":"cuteant","description":"Open Source Cross Platform EventStore(see https://eventstore.org/) Solution based on .NET Core 3.1 and Netty(https://github.com/cuteant/dotnetty-span-fork)","archived":false,"fork":false,"pushed_at":"2020-08-29T10:01:49.000Z","size":339286,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"dev-netcore","last_synced_at":"2025-03-29T22:41:18.248Z","etag":null,"topics":["cqrs","cqrs-es","dotnetty","easy-eventstore","easyeventstore","event-sourcing","event-store","event-stream","event-streaming","eventsourcing","eventstore","eventstorming","eventstream","mq","netcore","netcore-eventstore","netty"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cuteant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-12-23T19:21:07.000Z","updated_at":"2023-05-17T03:13:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3442d6d-c57f-40b1-ba10-833b5931d461","html_url":"https://github.com/cuteant/EventStore-DotNetty-Fork","commit_stats":null,"previous_names":["cuteant/eventstore-netcore-fork"],"tags_count":228,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuteant%2FEventStore-DotNetty-Fork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuteant%2FEventStore-DotNetty-Fork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuteant%2FEventStore-DotNetty-Fork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuteant%2FEventStore-DotNetty-Fork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuteant","download_url":"https://codeload.github.com/cuteant/EventStore-DotNetty-Fork/tar.gz/refs/heads/dev-netcore","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250388606,"owners_count":21422371,"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":["cqrs","cqrs-es","dotnetty","easy-eventstore","easyeventstore","event-sourcing","event-store","event-stream","event-streaming","eventsourcing","eventstore","eventstorming","eventstream","mq","netcore","netcore-eventstore","netty"],"created_at":"2024-10-02T10:48:26.838Z","updated_at":"2025-04-23T07:24:30.901Z","avatar_url":"https://github.com/cuteant.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EventStore .NETCore Fork\n\nThis is a fork from EventStore project: https://github.com/eventstore/eventstore\n\n## ~ Features\n  - Replace .NET socket transport with [DotNetty+libuv](https://github.com/cuteant/dotnetty-net40-fork).\n  - Very simple deployment of a Windows service:[ClusterNode.WindowsServices](https://github.com/cuteant/EventStore-NETCore-Fork/tree/dev-netcore/src/EventStore.ClusterNode.WindowsServices)\n  - Using [TPL Dataflow](https://docs.microsoft.com/en-us/dotnet/standard/parallel-programming/dataflow-task-parallel-library) for building asynchronous event data processing pipelines.\n  - More efficient serialization(see https://github.com/cuteant/MessagePack-Span-Fork).\n  - Object-Pooling.\n  - Faster Reflection.\n  - More friendly and more intuitive api for EventStore-Client.\n  - Better error handling with exceptions and better server connection detect.\n  - Auto Subscriber.\n  - Some Good Ideas for event subscriptions from [EasyNetQ](https://github.com/EasyNetQ/EasyNetQ).\n\n# EasyEventStore\n\nA Nice .NET Client API for EventStore.\n\nGoals:\n\n1. To make working with Event Store on .NET as easy as possible.\n2. To build an API that is close to interchangable with EasyNetQ.\n\n## [Samples](https://github.com/cuteant/EventStore-NETCore-Fork/tree/dev-netcore/samples)\n\nTo publish with EasyEventStore (assuming you've already created an IEventStoreBus instance):\n\n1. Create an instance of your message, it can be any serializable .NET type.\n2. Call the Publish method on IBus passing it your message instance.\n\nHere's the code...\n\n    var message = new MyMessage { Text = \"Hello EventStore\" };\n    bus.PublishEventAsync(message);\n\nTo subscribe to a message we need to give EasyEventStore an action to perform whenever a message arrives. We do this by passing subscribe a delegate:\n\n    bus.VolatileSubscribe\u003cMyMessage\u003e((sub, e) =\u003e Console.WriteLine(e.Body.Text));\n    bus.CatchUpSubscribe\u003cMyMessage\u003e((sub, e) =\u003e Console.WriteLine(e.Body.Text));\n    bus.PersistentSubscribe\u003cMyMessage\u003e((sub, e) =\u003e Console.WriteLine(e.Body.Text));\n\nNow every time that an instance of MyMessage is published, EasyEventStore will call our delegate and print the message's Text property to the console.\n\nTo send a message, use the Send method on IEventStoreBus, specifying the name of the stream you wish to send the message to and the message itself:\n\n    bus.SendEventAsync(\"my.stream\", new MyMessage{ Text = \"Hello Widgets!\" });\n\nTo setup a message receiver for a particular message type, use the Receive method on IEventStoreBus:\n\n    bus.VolatileSubscribe(\"my.stream\", (sub, e) =\u003e Console.WriteLine(\"MyMessage: {0}\", ((MyMessage)e.Body).Text));\n\nYou can set up multiple receivers for different message types on the same queue by using the Receive overload that takes an Action\u0026lt;IHandlerRegistration\u0026gt;, for example:\n\n    bus.VolatileSubscribeAsync(\"my.stream\", settings,\n        addHandlers: _ =\u003e_\n        .Add\u003cMyMessage\u003e(message =\u003e deliveredMyMessage = message)\n        .Add\u003cMyOtherMessage\u003e(message =\u003e deliveredMyOtherMessage = message);\n\n# ~ ORIGINAL README ~\n\n## Event Store\n\nThe open-source, functional database with Complex Event Processing in JavaScript.\n\nThis is the repository for the open source version of Event Store, which includes the clustering implementation for high availability. \n\n## Support\n\nInformation on commercial support and options such as LDAP authentication can be found on the Event Store website at https://eventstore.org/support.\n\n## CI Status\n[![Build Status](https://dev.azure.com/EventStoreOSS/EventStore/_apis/build/status/EventStore.EventStore?branchName=master)](https://dev.azure.com/EventStoreOSS/EventStore/_build/latest?definitionId=2)\n\n## Documentation\nDocumentation for Event Store can be found [here](https://eventstore.org/docs/)\n\n## Community\nWe have a fairly active [google groups list](https://groups.google.com/forum/#!forum/event-store). If you prefer slack, there is also an #eventstore channel [here](http://ddd-cqrs-es.herokuapp.com/).\n\n## Release Packages\nThe latest release packages are hosted in the downloads section on the [Event Store Website](https://eventstore.org/downloads/)\n\nWe also host native packages for Linux on [Package Cloud](https://packagecloud.io/EventStore/EventStore-OSS) and Windows packages can be installed via [Chocolatey](https://chocolatey.org/packages/eventstore-oss) (4.0.0 onwards only).\n\n## Building Event Store\n\nEvent Store is written in a mixture of C#, C++ and JavaScript. It can run either on Mono or .NET, however because it contains platform specific code (including hosting the V8 JavaScript engine), it must be built for the platform on which you intend to run it.\n\n### Linux\n**Prerequisites**\n- [Mono 5.16.0](https://www.mono-project.com/download/)\n- [.NET Core SDK 2.1.402](https://www.microsoft.com/net/download)\n\n**Required Environment Variables**\n```\nexport FrameworkPathOverride=/usr/lib/mono/4.7.1-api\n```\n\n### Windows\n**Prerequisites**\n- [.NET Framework 4.7.1 (Developer Pack)](https://www.microsoft.com/net/download)\n- [.NET Core SDK 2.1.402](https://www.microsoft.com/net/download)\n\n### Mac OS X\n**Prerequisites**\n- [Mono 5.16.0](https://www.mono-project.com/download/)\n- [.NET Core SDK 2.1.402](https://www.microsoft.com/net/download)\n\n**Required Environment Variables**\n```\nexport FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/5.16.0/lib/mono/4.7.1-api/\n```\n\n### Build EventStore\nOnce you've installed the prerequisites for your system, you can launch a `Release` build of EventStore as follows:\n```\ndotnet build -c Release src/EventStore.sln\n```\n\nTo start a single node, you can then run:\n```\nbin/Release/EventStore.ClusterNode/net471/EventStore.ClusterNode.exe --db ../db --log ../logs\n```\n\nYou'll need to launch the node with `mono` on Linux or Mac OS X.\n\n_Note: The build system has changed after version `4.1.1-hotfix1`, therefore the above instructions will not work for old releases._\n\n### Running the tests\nYou can launch the tests as follows:\n\n#### EventStore Core tests\n```\ndotnet test src/EventStore.Core.Tests/EventStore.Core.Tests.csproj -- RunConfiguration.TargetPlatform=x64\n```\n\n#### EventStore Projections tests\n```\ndotnet test src/EventStore.Projections.Core.Tests/EventStore.Projections.Core.Tests.csproj -- RunConfiguration.TargetPlatform=x64\n```\n\n## Building the EventStore Client / Embedded Client\nYou can build the client / embedded client with the steps below. This will generate a nuget package file (.nupkg) that you can include in your project.\n#### Client\n```\ndotnet pack -c Release src/EventStore.ClientAPI/EventStore.ClientAPI.csproj /p:Version=5.0.0\n```\n\n#### Embedded Client\n```\ndotnet pack -c Release src/EventStore.ClientAPI.Embedded/EventStore.ClientAPI.Embedded.csproj /p:Version=5.0.0\n```\n\n\n## Building the EventStore web UI\nThe web UI is prebuilt and the files are located under [src/EventStore.ClusterNode.Web/clusternode-web](src/EventStore.ClusterNode.Web/clusternode-web).\nIf you want to build the web UI, please consult this [repository](https://github.com/EventStore/EventStore.UI) which is also a git submodule of the current repository located under `src/EventStore.UI`.\n\n## Building the Projections Library\nThe list of precompiled projections libraries can be found in `src/libs/x64`. If you still want to build the projections library please follow the links below.\n- [Linux](scripts/build-js1/build-js1-linux/README.md)\n- [Windows](scripts/build-js1/build-js1-win/build-js1-win-instructions.md)\n- [Mac OS X](scripts/build-js1/build-js1-mac/build-js1-mac.sh)\n\n## Contributing\n\nDevelopment is done on the `master` branch.\nWe attempt to do our best to ensure that the history remains clean and to do so, we generally ask contributors to squash their commits into a set or single logical commit.\n\nIf you want to switch to a particular release, you can check out the tag for this particular version. For example:  \n`git checkout oss-v4.1.0`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuteant%2Feventstore-dotnetty-fork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuteant%2Feventstore-dotnetty-fork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuteant%2Feventstore-dotnetty-fork/lists"}