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
+39-23
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,26 @@
1
-
# th2-conn-dirty-fix (0.0.2)
1
+
# th2-conn-dirty-fix (0.0.4)
2
2
3
3
This microservice allows sending and receiving messages via FIX protocol
4
4
5
5
## Configuration
6
6
7
-
+*autoStart* - enables/disable auto-starting of session on box start (`true` by default)
8
-
+*autoStopAfter* - time in seconds after which session will be automatically stopped (`0` by default = disabled)
7
+
+*sessions* - list of session settings
9
8
+*maxBatchSize* - max size of outgoing message batch (`1000` by default)
10
9
+*maxFlushTime* - max message batch flush time (`1000` by default)
11
10
+*publishSentEvents* - enables/disables publish of "message sent" events (`true` by default)
12
11
+*publishConnectEvents* - enables/disables publish of "connect/disconnect" events (`true` by default)
13
-
+*sessions* - list of session settings
14
12
15
13
## Session settings
16
14
17
15
+*sessionAlias* - session alias for incoming/outgoing th2 messages
18
-
+*host* - service host
19
-
+*port* - service port
20
-
+*security* - connection security settings
21
-
+*maxMessageRate* - max outgoing message rate for this session (unlimited by default)
22
-
+*autoReconnect* - enables/disables auto-reconnect (`true` by default)
23
-
+*reconnectDelay* - delay between reconnects (`5000` by default)
24
16
+*handler* - handler settings
25
17
+*mangler* - mangler settings
26
-
### Security settings
27
-
28
-
+*ssl* - enables SSL on connection (`false` by default)
29
-
+*sni* - enables SNI support (`false` by default)
30
-
+*certFile* - path to server certificate (`null` by default)
31
-
+*acceptAllCerts* - accept all server certificates (`false` by default, takes precedence over `certFile`)
32
18
33
19
## Handler settings
34
20
21
+
+*host* - service host
22
+
+*port* - service port
23
+
+*security* - connection security settings
35
24
+*beginString* - defines the start of a new message and the protocol version
36
25
+*heartBtInt* - message waiting interval
37
26
+*senderCompID* - ID of the sender of the message
@@ -51,6 +40,18 @@ This microservice allows sending and receiving messages via FIX protocol
51
40
+*disconnectRequestDelay* - the interval for the shutdown request
52
41
+*resetSeqNumFlag* - resetting sequence number in initial Logon message (when conn started)
53
42
+*resetOnLogon* - resetting the sequence number in Logon in other cases (e.g. disconnect)
43
+
+*stateFilePath* - path to file where sequences will be saved to use with next login attempts. It is useful when acceptor does not support sequence reset. (`nullable`)
44
+
+*sessionStartTime* - UTC time when session starts. (`nullable`)
45
+
+*sessionEndTime* - UTC time when session ends. required if startSessionTime is filled.
46
+
+*useNextExpectedSeqNum* - session management based on next expected sequence number. (`false` by default)
47
+
+*saveAdminMessages* - defines if admin messages will be saved to internal outgoing buffer. (`false` by default)
48
+
49
+
### Security settings
50
+
51
+
+*ssl* - enables SSL on connection (`false` by default)
52
+
+*sni* - enables SNI support (`false` by default)
53
+
+*certFile* - path to server certificate (`null` by default)
54
+
+*acceptAllCerts* - accept all server certificates (`false` by default, takes precedence over `certFile`)
54
55
55
56
## Mangler settings
56
57
@@ -222,9 +223,7 @@ spec:
222
223
image-version: 0.0.1
223
224
type: th2-conn
224
225
custom-config:
225
-
autoStart: true
226
-
autoStopAfter: 0
227
-
maxBatchSize: 100
226
+
maxBatchSize: 1000
228
227
maxFlushTime: 1000
229
228
publishSentEvents: true
230
229
publishConnectEvents: true
@@ -283,18 +282,28 @@ spec:
283
282
settings:
284
283
storageOnDemand: false
285
284
queueLength: 1000
286
-
- name: outgoing_messages
285
+
- name: incoming_messages
287
286
connection-type: mq
288
287
attributes:
289
-
- second
290
288
- publish
289
+
- store
291
290
- raw
292
-
- name: incoming_messages
291
+
filters:
292
+
- metadata:
293
+
- field-name: direction
294
+
expected-value: FIRST
295
+
operation: EQUAL
296
+
- name: outgoing_messages
293
297
connection-type: mq
294
298
attributes:
295
-
- first
296
299
- publish
300
+
- store
297
301
- raw
302
+
filters:
303
+
- metadata:
304
+
- field-name: direction
305
+
expected-value: SECOND
306
+
operation: EQUAL
298
307
extended-settings:
299
308
externalBox:
300
309
enabled: false
@@ -311,6 +320,13 @@ spec:
311
320
312
321
# Changelog
313
322
323
+
## 0.0.4
324
+
* Session management based on NextExpectedSeqNum field.
325
+
* Recovery handling
326
+
* outgoing messages are now saved
327
+
* if message wasn't saved sequence reset message with gap fill mode flag is sent.
328
+
* Session start and Session end configuration to handle sequence reset by exchange schedule.
0 commit comments