Update README.md
This commit is contained in:
Родитель
d70eecce81
Коммит
6a88763113
|
@ -15,18 +15,18 @@ This repository is used to generate data for `Akka.Persistence.Sql` backward com
|
|||
* `ShardedMessage` is saved using standard serializer
|
||||
* `CustomShardedMessage` is saved using a custom serializer `CustomSerializer`
|
||||
* Each data types are persisted using 0, 1, and 2 tags
|
||||
* Tags are "Tag1" and "Tag2"
|
||||
* Data are generated using a 3 node cluster into 100 entities.
|
||||
* Each entity will persist exactly 12 data consisting each data type in all of the tag variants
|
||||
|
||||
## Creating Test Environment
|
||||
|
||||
All of the needed environment code are in the `Akka.Persistence.Sql.Exporter.Shared` project.
|
||||
All of the needed environment code are in the `Akka.Persistence.Sql.Exporter.Shared` project. The start code automatically start a 3 node cluster with all of the required configuration set.
|
||||
|
||||
```csharp
|
||||
void Setup(AkkaConfigurationBuilder builder, IServiceProvider provider)
|
||||
{
|
||||
var config = ConfigurationFactory.ParseString($@"
|
||||
akka.loglevel = DEBUG
|
||||
akka.persistence.journal {{
|
||||
plugin = ""akka.persistence.journal.mysql""
|
||||
mysql.connection-string = ""{docker.ConnectionString}""
|
||||
|
|
Загрузка…
Ссылка в новой задаче