Kafka programming interface
Kafka contains two programming interface mechanisms:
- Low level core API’s
- REST API’s: REST interface wrapping the core API’s for easy access
Kafka core API’s
These are the core API’s in Apache Kafka, as documented in the Apache Kafka documentation:
- Producer API: Contains a set of API’s which allows us to publish a stream of data to one or more of the named/categorized Kafka topics in the cluster.
- Streams API: Contains relevant API’s which acts on the stream of data. They can process this stream data and can transform it from existing form to a designated form according to your use case demands. These are relatively new API's as against existing producer and consumer API’s.
- Connect API: API’s which allows Kafka to be extensible. It contains methods which can be used to build Kafka connectors for the inputting and outputting of data into Kafka.
- Consumer API: Contains relevant API’s to subscribe to one or more topics in the broker. Since consumer takes care of a message...