Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc server报错bash: cdc: command not found…

What is this problem?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc server报错bash: cdc: command not found…
What is this problem?
【TiDB Usage Environment】Production Environment / Testing / PoC
【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issues: Problem Symptoms and Impact】
【Resource Configuration】
Please provide feedback on the issue according to the requirements~
Set environment variables or execute binary files in the absolute path.
It is just the normal process of pulling the ticdc source code on Linux, then running the make command, and executing the command in the compiled bin directory, or executing the command in the source code path, both show the same unavailable message.
In the compiled bin directory: ./cdc server ****************
Is this considered started? What command can I use to see the status?
Sure, thank you very much. I would also like to ask if TiCDC will output logs to the console if I perform data operations on TiDB.
I want to set the environment variables for TiCDC so that my company’s server can recognize them. How should I set them up?
I have two understandings of your server-side recognition:
My CDC is deployed on Linux, and the company’s server is running with IDEA. So, should I just configure it in Java?
If I want to use a Java main method to test whether TiCDC’s RPC is functioning properly, where can I find a reference method for testing?
You can refer to tiflow/tests/integration_tests/README.md at master · pingcap/tiflow · GitHub to try, or write your own tests for reference.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.