[Solved] canal-adpter Startup Error: Could not resolve placeholder

Failed to synchronize mysql8 with ES7. The clientadapter failed to start

java.lang.IllegalArgumentException: Could not resolve placeholder 'HOSTNAME%%.’ in value "history -a; history -a; printf “\033]0;%s@%s:%s\007” "U S E R " " {USER}" "USER""{HOSTNAME%%.}" “KaTeX parse error: Expected '}', got '#' at position 6: {PWD/#̲HOME/~}”"

 

Solution

Add to the end of the initiator configuration file application.yml

Cause analysis

The spring boot failed to resolve the environment variable, which is incompatible with the ECS environment variable value.

HOSTNAME%%.*:
PWD/#$HOME/~:

Read More: