Skip to content

Commit

Permalink
tiny fix the comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Apr 19, 2022
1 parent b59d0b1 commit 606639b
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 @@ -309,8 +309,6 @@ func (k *mqSink) EmitDDLEvent(ctx context.Context, ddl *model.DDLEvent) error {
return errors.Trace(err)
}

// Close the mqSink
// Caller can pass a canceled context to make sure this is non-blocking.
// Close the producer asynchronously, does not care closed successfully or not.
func (k *mqSink) Close(ctx context.Context) error {
go k.mqProducer.Close()
Expand Down

0 comments on commit 606639b

Please sign in to comment.