Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

navikt/sif-karapace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sif-karapace

This project is based on the work of https://github.com/nais/karapace to provide an easy access to the aiven kafka rest api.

Karapace

This is a packaging of Aiven Karapace for use as a REST API for Kafka in the NAIS platform together with Kafkarator.

Aiven uses Karapace to provide a REST API and Schema Registry for their managed Kafka offering.

Access control

In order to be able to call sif-karapace, make sure to add your k8s service in the inbound rules located here.

Usage

Karapace provides the same API as the Confluent Kafka REST proxy (v1). The Confluent REST Proxy API Reference should be fairly accurate, but differences may be documented in the Aiven Karapace project. See also this issue.

Karapace will be available using a service address in the cluster (http://application-name.namespace/), assuming you have set proper access policies.

Examples

To be able to use this service, exec into the k8s pod (which you have granted access to).

List topics:

curl "http://sif-karapace/topics"

Get info for one particular topic:

curl "hhttp://sif-karapace/topics/my_topic"

For more info check out Confluent REST Proxy API Reference.

Releases

No releases published

Packages

No packages published