When a resource info is added to MDC, it is done in several inconsistent ways with respect to how the namespace, or rather the absence thereof, is handled:
addResourceInfo does not add the namespace key if the namespace is null
addResourceIDInfo adds the key but sets the value to no namespace
addInformerEventInfo adds the key and sets the value to null (which causes an NPE in at least some MDC implementations)
This should be unified.