pingcap/tiflow

Refine code generator for canal protocol

Open

#1,107 opened on Nov 20, 2020

 (1 comment) (0 reactions) (0 assignees)Go (310 forks)auto 404
help wantedpriority/P2subject/new-feature

Repository metrics

Stars
 (461 stars)
PR merge metrics
 (PR metrics pending)

Description

Feature Request

Is your feature request related to a problem? Please describe:

Currently TiCDC maintains a simple canal protocol code generator script, but it lacks version management for protoc, and has one enum name conflict issue (ref: https://github.com/pingcap/ticdc/issues/1071)

Describe the feature you'd like:

  • Separate EntryProtocol and CanalProtocol into two packages to avoid name conflicts.
  • Add version management for protoc

Contributor guide