private String decorateTopic(final String topic) {
        if (applicationId == null) {
            throw new TopologyException("there are internal topics and "
                                            + "applicationId hasn't been set. Call "
                                            + "setApplicationId first");
        }
        final String prefix = topologyConfigs == null ?
                                applicationId :
                                ProcessorContextUtils.getPrefix(topologyConfigs.applicationConfigs.originals(), applicationId);

        if (hasNamedTopology()) {
            return prefix + "-" + topologyName + "-" + topic;
        } else {
            return prefix + "-" + topic;
        }
    }
@return  the full names (including application id/topology name prefix) of all source topics whose
         processors are connected to the given state store
streams/src/main/java/org/apache/kafka/streams/processor/internals/InternalTopologyBuilder.java