Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ovotech/clj-aiven


https://github.com/ovotech/clj-aiven

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# clj-aiven

A Clojure library designed to interact with aiven api.

## Usage
```clojure
;Get topic lag
(require 'clj-aiven.core)

(def aiven-conn {:project "proj-name"
:service "serv-name"
:token "aivenv1 token"})


(topic-info aiven-conn "topic-name")

(topic-consumer-lag conn "topic-name" "consumer-name")

----------------------------------------------------------------------------------

;Get topic sizes

(def schema-conn {:url "***REMOVED***"
:user "user"
:pass "password"})

(list-topic-sizes conn schema-conn)
```