You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Overview (5.9.0)
1
+
# Overview (5.10.0)
2
2
3
3
Message store (mstore) is an important th2 component responsible for storing raw messages into Cradle. Please refer to [Cradle repository] (https://github.com/th2-net/cradleapi/blob/master/README.md) for more details. This component has a pin for listening messages via MQ.
4
4
@@ -45,7 +45,7 @@ book, session alias, direction and sequence number are a **compound unique ident
45
45
"drain-interval" : 100,
46
46
"prefetchRatioToDrain" : 0.8,
47
47
"maxBatchSize" : 200000,
48
-
48
+
"persisotr-termination-timeout" : 1000,
49
49
"termination-timeout" : 1000
50
50
}
51
51
```
@@ -59,6 +59,7 @@ book, session alias, direction and sequence number are a **compound unique ident
59
59
+_prefetchRatioToDrain_ - Threshold ratio of fetched messages to RabbitMQ prefetch size to force aggregated batch draining.
60
60
+_maxBatchSize_ - Maximum aggregated batch size in case of re-batching
61
61
+_termination-timeout_ - Timeout in milliseconds to await for the inner drain scheduler to finish all the tasks. The default value is 5000.
62
+
+_persisotr-termination-timeout_ - The timeout in milliseconds to await for the persisotr thread complete. The default value is 5000.
62
63
63
64
If some of these parameters are not provided, mstore will use default(undocumented) value.
64
65
If _maxTaskCount_ or _maxTaskDataSize_ limits are reached during processing, mstore will pause processing new messages
@@ -89,6 +90,7 @@ spec:
89
90
prefetchRatioToDrain: 0.8
90
91
maxBatchSize: 200000
91
92
termination-timeout: 5000
93
+
persisotr-termination-timeout: 5000
92
94
pins:
93
95
mq:
94
96
subscribers:
@@ -117,9 +119,13 @@ Please see more details about this feature via [link](https://github.com/th2-net
117
119
118
120
# Release notes
119
121
120
-
## next release
121
-
* Updated:
122
-
* th2 gradle plugin `0.2.3` based on bom: `4.11.0`
122
+
## 5.10.0
123
+
* Publish mstore as moven artifact.
124
+
* Prepared MessagePersistor class for using in other project.
125
+
* Added `persisotr-termination-timeout` option
126
+
* Updated
127
+
* th2 gradle plugin `0.2.4` based on bom: `4.11.0`
0 commit comments