public static Properties mkObjectProperties(final Map<String, Object> properties) {
        final Properties result = new Properties();
        for (final Map.Entry<String, Object> entry : properties.entrySet()) {
            result.put(entry.getKey(), entry.getValue());
        }
        return result;
    }
Creates a {@link Properties} from a map

@param properties A map of properties to add
@return The properties object
clients/src/main/java/org/apache/kafka/common/utils/Utils.java