Azure event hub namespace connection string or event hub connection string?
It depends, if you have the requirement to write to say different event hub in the namespace then event hub namespace connection string. The problem could be if your connection string is compromised then the application can potentially send to all your event queue. It is always better to have finer control. :)
So I would use event hub based connection string.
Comments