Skip to content

Commit

Permalink
sink(ticdc): address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Mar 15, 2022
1 parent ee1567e commit ed3113a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cdc/sink/mq_flush_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ func newFlushWorker(encoder codec.EventBatchEncoder, producer producer.Producer,

// batch collects a batch of messages to be sent to the Kafka producer.
func (w *flushWorker) batch(
ctx context.Context,
events []mqEvent,
ctx context.Context, events []mqEvent,
) (int, error) {
index := 0
max := len(events)
Expand Down

0 comments on commit ed3113a

Please sign in to comment.