Skip to content

Commit

Permalink
sink(ticdc): warning when using pulsar sink
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Jul 28, 2022
1 parent 0e358fd commit 6290709
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cdc/sink/mq/mq.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,9 @@ func NewKafkaSaramaSink(ctx context.Context, sinkURI *url.URL,
func NewPulsarSink(ctx context.Context, sinkURI *url.URL,
replicaConfig *config.ReplicaConfig, errCh chan error,
) (*mqSink, error) {
log.Warn("Pulsar Sink is about to go out of maintenance, " +
"it has not been production tested, and there is no support for new features. " +
"Please try not to use it, it will stop being supported in the new version.")
s := sinkURI.Query().Get(config.ProtocolKey)
if s != "" {
replicaConfig.Sink.Protocol = s
Expand Down

0 comments on commit 6290709

Please sign in to comment.