Updated check for null args.
Merge branch 'master' of https://github.com/leerobert/kafka-producers