The four major APIs of Kafka are -
- Producer API -It allows an application to publish streams of records.
- Consumer API -It permits an application to subscribe to topics and process streams of records for consumption.
- Connector API -This API simply executes consumer APIs with existing applications.
- Streams API -It helps to convert an input stream to an output stream.