Skip to content

Commit 188f2bf

Browse files
authored
Fix setting concurrency for payload decoding (#1065)
* support setting decoder concurrency for TransactionPayloadEvent binlog * add missing set
1 parent 8ff355a commit 188f2bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

replication/binlogsyncer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ func NewBinlogSyncer(cfg BinlogSyncerConfig) *BinlogSyncer {
212212
b.parser.SetUseDecimal(b.cfg.UseDecimal)
213213
b.parser.SetUseFloatWithTrailingZero(b.cfg.UseFloatWithTrailingZero)
214214
b.parser.SetVerifyChecksum(b.cfg.VerifyChecksum)
215+
b.parser.SetPayloadDecoderConcurrency(cfg.PayloadDecoderConcurrency)
215216
b.parser.SetRowsEventDecodeFunc(b.cfg.RowsEventDecodeFunc)
216217
b.parser.SetTableMapOptionalMetaDecodeFunc(b.cfg.TableMapOptionalMetaDecodeFunc)
217218
b.running = false

0 commit comments

Comments
 (0)