You are a consumer of Oracle Cloud Infrastructure (OCI) Streaming service. Which API should you use to

By | December 3, 2022

You are a consumer of Oracle Cloud Infrastructure (OCI) Streaming service. Which API should you use to read and process the stream?

Correct Answer: B
Explanation
https://docs.cloud.oracle.com/en-us/iaas/Content/Streaming/Concepts/streamingoverview.htm
Building consumers to read and process messages from a stream using the GetMessages API .
How StreamingWorks:
The Streaming service provides a robust, scalable mechanism that you can use to produce and consume high volumes of data between application components.
Here’s how Streaming works: a producer publishes messages to a stream, which is an append-only log. These messages are distributed among the partitions using the message’s key.
Streams are divided into a number of partitions for scalability. Partitions allow you to distribute a stream by splitting messages across multiple nodes (or brokers). Each partition can be placed on a separate machine to allow multiple consumers to read a stream in parallel. Multiple consumers can read from any partition regardless of where the partition is hosted.
A consumer can read messages from one or more streams. Each message within a stream is marked with an offset value, so a consumer can pick up where it left off if it is interrupted.
You can use the Streaming service by:
A:Creating a stream using the Console or API.
B:Using a producer to publish data to the stream.
C:Building consumers to read and process stream using the GetMessages API . .
References:
https://docs.cloud.oracle.com/en-us/iaas/Content/Streaming/Concepts/streamingoverview.htm