Exam4Training

How will you read all the messages from a topic in your KSQL query?

How will you read all the messages from a topic in your KSQL query?
A . KSQL reads from the beginning of a topic, by default.
B . KSQL reads from the end of a topic. This cannot be changed.
C . Use KSQL CLI to set auto.offset.reset property to earliest

Answer: C

Explanation:

Consumers can set auto.offset.reset property to earliest to start consuming from beginning. For KSQL, SET ‘auto.offset.reset’=’earliest’;

Latest CCDAK Dumps Valid Version with 150 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version