kafka sender: reduced try-except size
kafka sender: reduced try-except size

Moved the producer configuration out of the try block, making it clearer
where the exceptions may raise. The method is called at every iteration
in case there is another thread that may mutate config to change the
configuration.

aiven/journalpump,aiven/kafkajournalpump