Skip to content

trbngr/EventStoreService

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

EventStoreService

This is a TopShelf wrapper around the EventStore (http://geteventstore.com) so you can host this as a service.

Sample Configuration

<startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>

<eventStoreService xmlns="urn:EventStoreService.Configuration">
    <windowsService description="Production EventStore" serviceName="EventStoreProduction"
                    displayName="EventStore (Production)" />

    <eventStore runMode="Cluster" binaryPath=".\eventstore">
        
        <database inMemory="true" />
        <projections run="System" threads="3" />
        
        <singleNode httpPort="2113" tcpPort="1113" ip="127.0.0.1" />
       
        <cluster clusterSize="3">
            <dns discoverViaDns="false" />
            <ip external="127.0.0.1" internal="127.0.0.1" />
            <tcp externalPort="1112" internalPort="1111" />
            <http externalPort="2114" internalPort="1113" />
            <gossip>
                <seeds>
                    <endpoint address="127.0.0.1:2113" />
                    <endpoint address="127.0.0.1:3113" />
                </seeds>
            </gossip>
        </cluster>
        
    </eventStore>
</eventStoreService>

All options are optional and will be assigned the default values of the EventStore.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.9%
  • Shell 0.1%