When no logger is given, the null logger fallback will cause a NameError

Producing messages to cluster will trigger the logger and fail due to the missing require.