Create a changefeed with some problematic configurations.
For example:
Imagine we have a Kafka server and it does not have the min.insync.replicate configuration.
create a changefeed with command ./cdc cli changefeed create --sink-uri="kafka://127.0.0.1:9092/test?max-message-bytes=1048576&protocol=open-protocol&replication-factor=1"
What did you expect to see?
Show the warnings for these problematic configurations.
We should show:
[2023/02/02 14:50:34.520 +08:00] [WARN] [kafka.go:460] ["TiCDC cannot find `min.insync.replicas` from broker's configuration, please make sure that the replication factor is greater than or equal to the minimum number of in-sync replicasif you want to use `required-acks` = -1.Otherwise, TiCDC will not be able to send messages to the topic."]
What did you see instead?
Nothing. I can find the warnings in server's log instead of cli's log.
What did you do?
Create a changefeed with some problematic configurations.
For example: Imagine we have a Kafka server and it does not have the
min.insync.replicate
configuration../cdc cli changefeed create --sink-uri="kafka://127.0.0.1:9092/test?max-message-bytes=1048576&protocol=open-protocol&replication-factor=1"
What did you expect to see?
Show the warnings for these problematic configurations.
We should show:
What did you see instead?
Nothing. I can find the warnings in server's log instead of cli's log.
Versions of the cluster
master