1

We have a use-case where the Cache may not be populated occasionally. I need a way to instruct the Kstream consumer not to commit the offset when (cachePoplulated == false). The idea is to trigger a reload of the cache and try the reprocessing of the message from kafka. How can we achieve this.

Jack
  • 111
  • 1
  • 6
  • 1
    For Kafka Streams this is not possible. However, with Kafka Streams is would also not easily be possible to reload the cache -- and if you solve the reprocessing problem via external tooling (like `bin/kafka-streams-application-reset.sh`) you also solve the commit problem as you can specify a desired start offset. – Matthias J. Sax Apr 02 '20 at 01:24
  • Thanks @MatthiasJ.Sax – Jack Apr 02 '20 at 09:08

0 Answers0