public synchronized <KIn, VIn> Topology addReadOnlyStateStore(final StoreBuilder<?> storeBuilder,
                                                                  final String sourceName,
                                                                  final Deserializer<KIn> keyDeserializer,
                                                                  final Deserializer<VIn> valueDeserializer,
                                                                  final String topic,
                                                                  final String processorName,
                                                                  final ProcessorSupplier<KIn, VIn, Void, Void> stateUpdateSupplier) {
        return addReadOnlyStateStore(
                storeBuilder,
                sourceName,
                null,
                keyDeserializer,
                valueDeserializer,
                topic,
                processorName,
                stateUpdateSupplier
        );
    }
Adds a read-only {@link StateStore} to the topology.
<p>
A read-only {@link StateStore} does not create a dedicated changelog topic but uses it's input topic as
changelog; thus, the used topic should be configured with log compaction.
<p>
The <code>auto.offset.reset</code> property will be set to <code>earliest</code> for this topic.
<p>
The provided {@link ProcessorSupplier} will be used to create a processor for all messages received
from the given topic. This processor should contain logic to keep the {@link StateStore} up-to-date.
The default {@link TimestampExtractor} as specified in the {@link StreamsConfig config} is used.

@param storeBuilder          user defined store builder
@param sourceName            name of the {@link SourceNode} that will be automatically added
@param keyDeserializer       the {@link Deserializer} to deserialize keys with
@param valueDeserializer     the {@link Deserializer} to deserialize values with
@param topic                 the topic to source the data from
@param processorName         the name of the {@link ProcessorSupplier}
@param stateUpdateSupplier   the instance of {@link ProcessorSupplier}
@return itself
@throws TopologyException if the processor of state is already registered
streams/src/main/java/org/apache/kafka/streams/Topology.java