As mentioned when i log in to the container KafkaChannel__SaslUsername is empty. in order to fix the we need use double $$ syntax like this inside the docker-compose.yml. KafkaChannel__SaslUsername=$$ConnectionString