When deploying a CDC synchronization task, [CDC:ErrMQSinkUnknownProtocol] unknown '' protocol for Message Queue sink is thrown

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: cdc部署同步任务时抛出[CDC:ErrMQSinkUnknownProtocol]unknown ‘’ protocol for Message Queue sink

| username: fshowmia

[TiDB Usage Environment] Production Environment
[TiDB Version] v6.1.1
[Encountered Issue]
An error [CDC:ErrMQSinkUnknownProtocol] unknown ‘’ protocol for Message Queue sink is thrown when deploying a sync task using ticdc.
[Issue Phenomenon and Impact]
Using cdc to sync and push data from a table to Kafka.
[Attachments]
Both the TiDB cluster version and the ticdc version are v6.1.1


1666860480310

| username: Meditator | Original post link

It seems that the protocol needs to be configured in the sink-url. Because there is no default value.

| username: fshowmia | Original post link

I have always been unable to use the canal-json protocol, but switching to the open-protocol protocol works. Both the cluster and CDC versions are v6.1.1, and the reason has not yet been identified.

| username: asddongmen | Original post link

Could you please share your sink-uri configuration with protocol = canal-json after desensitization?