I recently struggled with the same issue.
I found it under the following directory:
/opt/homebrew/Cellar/kafka/3.9.0/libexec/config
I had to navigate to it via terminal as /opt was not appearing in finder