|
Answer» There are four core API which is available in Kafka. Please find below an overview of the core API : - The Producer API: These API help producer systems to publish messages on one or more TOPICS. For any streaming platform, the FIRST task starts from publishing data on brokers so we can say that producer API’s are the first one to being consumed in Kafka.
- The Consumer API: The API belonging to this group help SUBSCRIBERS system in receiving messages belonging to one more topic. At the same time, it helps in the processing of data.
- The streams API: These API helps application to act as a processor for input stream belonging to one or more topics and resulting in the output stream.
- The connector API: The connector API helps in building consumer and producer application that facilitate connecting topics to existing systems. For example, if we need to capture any change in the existing RDBMS table then we can leverage connector API.
|