title: How to read data from Kafka Stream changelog topic?
body: <p>I use Kafka Stream to do with my topic A, and I use inMemoryKeyValueStore. </p>
  
  <pre><code>builder.addStateStore(Stores.keyValueStoreBuilder(
             //Stores.persistentKeyValueStore("AccurateADCounts"),
              Stores.inMemoryKeyValueStore("AccurateADCounts"),
              Serdes.String(),
              Serdes.Integer()),
              "AccurateADProcess");
  </code></pre>
  
  <p>I trace the Kafka Stream will record the status back to the topic with <code>${application.id}-${state-store-name}-changelog</code></p>
  
  <p>e.g.  <code>shunwang-streams-filebeat-test-AccurateADCounts-changelog</code></p>
  
  <pre><code>props.put(StreamsConfig.APPLICATION_ID_CONFIG, "shunwang-streams-filebeat-test");
  </code></pre>
  
  <blockquote>
    <p>To make state stores fault-tolerant and to allow for state store migration without data loss, a state store can be continuously backed up to a Kafka topic behind the scenes.</p>
  </blockquote>
  
  <p>I try to consumer the topic , it return some unreadable data. </p>
  
  <pre><code>./bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic shunwang-streams-filebeat-test-AccurateADCounts-changelog --from-beginning --new-consumer
  </code></pre>
  
  <p>return some thing like :</p>
  
  <pre><code>Xshell    null
  </code></pre>
  
  <p>Question:</p>
  
  <p>Is any way how to correct read the topic <code>${application.id}-${state-store-name}-changelog</code> ?</p>
  
  <p>I know the topic is for Kafka Stream , but I still want to find some way to do this.</p>