public static String getPrefix(final Map<String, Object> configs, final String applicationId) {
        if (configs == null) {
            return applicationId;
        } else {
            return StreamsConfig.InternalConfig.getString(
                configs,
                StreamsConfig.InternalConfig.TOPIC_PREFIX_ALTERNATIVE,
                applicationId
            );
        }
    }
Should be removed as part of KAFKA-10217
streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorContextUtils.java