category
category

Reputation: 2155

interacting with kafka over http

Elasticsearch seems to have a near full API feature set over http - for example, indices can be created via a PUT request.

Is it currently possible to do the analogous and create a topic, via a http request, in Kafka?

Upvotes: 1

Views: 1315

Answers (2)

category
category

Reputation: 2155

kafka-manager has a rich REST API feature-set, including admin features, with a list of all the API routes here.

Upvotes: 1

Hans Jespersen
Hans Jespersen

Reputation: 8335

There is no out of the box Kafka Admin REST API. In Kafka 0.11 there is a Java AdminClient API so someone can write such an interface as a tool external to the standard Apache Kafka distribution.

https://cwiki.apache.org/confluence/display/KAFKA/KIP-117%3A+Add+a+public+AdminClient+API+for+Kafka+admin+operations

Upvotes: 2

Related Questions