Skip to content

add more consumer related code #2792

add more consumer related code

add more consumer related code #2792

Triggered via pull request February 18, 2025 08:17
Status Failure
Total duration 3m 3s
Artifacts

check_and_build.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L202
cannot use b.NextRowChangedEvent() (value of type *event.DMLEvent) as *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent value in return statement
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L296
cannot use b.NextRowChangedEvent() (value of type *event.DMLEvent) as *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent value in return statement
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L357
cannot use b.assembleHandleKeyOnlyRowChangedEvent(ctx, message) (value of type *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent) as *event.DMLEvent value in return statement
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L360
cannot use b.assembleClaimCheckRowChangedEvent(ctx, message.Extensions.ClaimCheckLocation) (value of type *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent) as *event.DMLEvent value in return statement
Mac OS Build: pkg/sink/codec/canal/canal_json_decoder.go#L368
cannot use result (variable of type *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent) as *event.DMLEvent value in return statement
Mac OS Build: pkg/sink/codec/canal/canal_json_txn_decoder.go#L111
cannot use result (variable of type *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent) as *event.DMLEvent value in return statement
Mac OS Build: pkg/sink/codec/open/decoder.go#L195
cannot use ddlEvent (variable of type *"github.com/pingcap/tiflow/cdc/model".DDLEvent) as *event.DDLEvent value in return statement
Mac OS Build: pkg/sink/codec/open/decoder.go#L207
cannot use b.assembleEventFromClaimCheckStorage(ctx) (value of type *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent) as *event.DMLEvent value in return statement
Mac OS Build: pkg/sink/codec/open/decoder.go#L216
cannot use event (variable of type *"github.com/pingcap/tiflow/cdc/model".RowChangedEvent) as *event.DMLEvent value in return statement
Mac OS Build
Process completed with exit code 2.
Mac OS Build
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down