1
1
# Configuration
2
2
3
- There are 3 configuration sets:
4
3
1 . [ BlockStreamConfig] ( #blockstreamconfig ) : contains the configuration for the Block Stream Simulator logic.
5
- 1 . [ BlockGeneratorConfig] ( #blockgeneratorconfig ) : contains the configuration for the Block Stream Simulator generation module.
6
- 1 . [ SimulatorStartupDataConfig] ( #simulatorstartupdataconfig ) : contains the configuration for the Block Stream Simulator startup data.
7
- 1 . [ UnorderedStreamConfig] ( #unorderedstreamconfig ) : contains the configuration for the Unordered Stream Simulator logic.
8
- 1 . [ ConsumerConfig] ( #consumerconfig ) : contains the configuration for the Consumer Simulator logic.
9
- 1 . [ GrpcConfig] ( #grpcconfig ) : contains the configuration for the gRPC communication with the Block-Node.
10
- 1 . [ PrometheusConfig] ( #prometheusconfig ) : contains the configuration for the Prometheus agent.
4
+ 2 . [ BlockGeneratorConfig] ( #blockgeneratorconfig ) : contains the configuration for the Block Stream Simulator generation module.
5
+ 3 . [ SimulatorStartupDataConfig] ( #simulatorstartupdataconfig ) : contains the configuration for the Block Stream Simulator startup data.
6
+ 4 . [ UnorderedStreamConfig] ( #unorderedstreamconfig ) : contains the configuration for the Unordered Stream Simulator logic.
7
+ 5 . [ ConsumerConfig] ( #consumerconfig ) : contains the configuration for the Consumer Simulator logic.
8
+ 6 . [ GrpcConfig] ( #grpcconfig ) : contains the configuration for the gRPC communication with the Block-Node.
9
+ 7 . [ PrometheusConfig] ( #prometheusconfig ) : contains the configuration for the Prometheus agent.
11
10
12
11
## BlockStreamConfig
13
12
14
13
Uses the prefix ` blockStream ` so all properties should start with ` blockStream. `
15
14
16
15
| Key | Description | Default Value |
17
16
| :----------------------------| :------------------------------------------------------------------------------------------------------------------------------------| -------------------:|
18
- | ` simulatorMode ` | The desired simulator mode to use, it can be either ` PUBLISHER ` or ` CONSUMER ` . | ` PUBLISHER ` |
17
+ | ` simulatorMode ` | The desired simulator mode to use, it can be either ` PUBLISHER_SERVER ` or ` CONSUMER ` . | ` PUBLISHER_SERVER ` |
19
18
| ` lastKnownStatusesCapacity ` | The store capacity for the last known statuses. | ` 10 ` |
20
19
| ` delayBetweenBlockItems ` | The delay between each block item in nanoseconds, only applicable when streamingMode is ` CONSTANT_RATE ` | ` 1_500_000 ` |
21
20
| ` maxBlockItemsToStream ` | The maximum number of block items to stream before stopping | ` 100_000 ` |
@@ -31,7 +30,7 @@ Uses the prefix `generator` so all properties should start with `generator.`
31
30
32
31
| Key | Description | Default Value |
33
32
| :--------------------------| :------------------------------------------------------------------------------------------------------------| --------------------------------:|
34
- | ` generationMode ` | The desired generation Mode to use, it can only be ` DIR ` or ` CRAFT ` | ` DIR ` |
33
+ | ` generationMode ` | The desired generation Mode to use, it can only be ` DIR ` or ` CRAFT ` | ` CRAFT ` |
35
34
| ` minEventsPerBlock ` | The minimum number of events per block | ` 1 ` |
36
35
| ` maxEventsPerBlock ` | The maximum number of events per block | ` 10 ` |
37
36
| ` minTransactionsPerEvent ` | The minimum number of transactions per event | ` 1 ` |
0 commit comments