Hello everyone !
After looking everywhere for my issue I turn to you !
I have a microservice structured project using Spring with for the moment two apps one called BackedFlow( This is the main app it produces kafka messages) and BackedMailer(That consume the messages produced)
The issue lies in my deployment, I have a docker-compose stack with for the BackedFlow app an env variable called (see the linked gist with the docker-compose.yml) when i specify kafka:29092 i get this error : Couldn't resolve server kakfa:29092 from bootstrap.servers as DNS resolution failed for kakfa
Pretty odd error knowing that kafka itself can resolve the DNS and set the correct settings and I ssh into the container and when pinging kafka i get a DNS resolution :/
Has anyone ever encounter that if yes can you provide me with some clues ?
thanks a lot in advance
https://gist.github.com/nil-malh/d55aa899d21a098d430acec7b6cf8be9