Skip to content

Commit

Permalink
finish refactor the worker
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Jan 15, 2025
1 parent af18d34 commit 07a3512
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion downstreamadapter/worker/kafka_ddl_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import (
"context"
"time"

"github.com/pingcap/errors"
"github.com/pingcap/log"
"github.com/pingcap/ticdc/downstreamadapter/sink/helper/eventrouter"
"github.com/pingcap/ticdc/downstreamadapter/sink/helper/topicmanager"
"github.com/pingcap/ticdc/downstreamadapter/worker/producer"
commonType "github.com/pingcap/ticdc/pkg/common"
"github.com/pingcap/ticdc/pkg/common/event"
"github.com/pingcap/ticdc/pkg/config"
"github.com/pingcap/ticdc/pkg/errors"
"github.com/pingcap/ticdc/pkg/metrics"
"github.com/pingcap/ticdc/pkg/sink/codec/common"
"github.com/pingcap/ticdc/pkg/sink/util"
Expand Down
2 changes: 1 addition & 1 deletion downstreamadapter/worker/kafka_dml_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
"context"
"time"

"github.com/pingcap/errors"
"github.com/pingcap/log"
"github.com/pingcap/ticdc/downstreamadapter/sink/helper/eventrouter"
"github.com/pingcap/ticdc/downstreamadapter/sink/helper/topicmanager"
Expand All @@ -26,6 +25,7 @@ import (
"github.com/pingcap/ticdc/pkg/common/columnselector"
commonEvent "github.com/pingcap/ticdc/pkg/common/event"
"github.com/pingcap/ticdc/pkg/config"
"github.com/pingcap/ticdc/pkg/errors"
"github.com/pingcap/ticdc/pkg/metrics"
"github.com/pingcap/ticdc/pkg/sink/codec"
"github.com/pingcap/tiflow/cdc/model"
Expand Down
2 changes: 1 addition & 1 deletion downstreamadapter/worker/kafka_dml_worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ package worker
import (
"context"
"fmt"
"github.com/pingcap/tiflow/pkg/errors"
"net/url"
"testing"
"time"
Expand All @@ -27,6 +26,7 @@ import (
"github.com/pingcap/ticdc/pkg/config"
"github.com/pingcap/ticdc/pkg/metrics"
"github.com/pingcap/ticdc/pkg/sink/kafka"
"github.com/pingcap/tiflow/pkg/errors"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit 07a3512

Please sign in to comment.