Skip to content

Commit

Permalink
sink(cdc): kafka producer use default configuration. (pingcap#4359)
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Feb 24, 2022
1 parent d4d6975 commit 8899b87
Show file tree
Hide file tree
Showing 14 changed files with 863 additions and 422 deletions.
6 changes: 2 additions & 4 deletions cdc/model/schema_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ import (
"fmt"

"github.com/pingcap/log"

"go.uber.org/zap"

"github.com/pingcap/parser/model"
"github.com/pingcap/parser/mysql"
"github.com/pingcap/parser/types"
"github.com/pingcap/tidb/table/tables"
"github.com/pingcap/tidb/util/rowcodec"
"go.uber.org/zap"
)

const (
Expand Down Expand Up @@ -139,7 +137,7 @@ func WrapTableInfo(schemaID int64, schemaName string, version uint64, info *mode

ti.findHandleIndex()
ti.initColumnsFlag()
log.Debug("warpped table info", zap.Reflect("tableInfo", ti))
log.Debug("warped table info", zap.Reflect("tableInfo", ti))
return ti
}

Expand Down
187 changes: 0 additions & 187 deletions cdc/owner/async_sink.go

This file was deleted.

183 changes: 0 additions & 183 deletions cdc/owner/async_sink_test.go

This file was deleted.

Loading

0 comments on commit 8899b87

Please sign in to comment.