Skip to content

Commit

Permalink
ticdc(sink): remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Feb 20, 2022
1 parent 8308d3a commit 79c59b6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cdc/sink/mq.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ type mqSink struct {
filter *filter.Filter
protocol config.Protocol

partitionNum int32
flushWorker *flushWorker
tableCheckpointTsMap sync.Map
resolvedBuffer chan resolvedTsEvent
Expand Down Expand Up @@ -115,7 +114,6 @@ func newMqSink(
encoderBuilder: encoderBuilder,
filter: filter,
protocol: protocol,
partitionNum: partitionNum,
flushWorker: flushWorker,
resolvedBuffer: make(chan resolvedTsEvent, defaultResolvedTsEventBufferSize),
statistics: NewStatistics(ctx, "MQ"),
Expand Down

0 comments on commit 79c59b6

Please sign in to comment.