Skip to content

Commit

Permalink
pkg/sink: remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cyliu0 committed May 15, 2023
1 parent b101bcf commit e47e068
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/sink/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,5 @@ func (k *KafkaSink) Flush(ctx context.Context) error {

func (k *KafkaSink) Close(ctx context.Context) error {
k.producer.Flush(10 * 1000)
//k.producer.Close()
return nil
}

0 comments on commit e47e068

Please sign in to comment.