kafka 1.0.0

Download zip

class: KafkaAdmin

[34:14] (extern: com.lehman.aussom.KafkaAdmin) extends: object

The Kafka Admin client: cluster management from Aussom code. adm = new KafkaAdmin("broker1:9092"); adm.connect(); adm.createTopic("orders.created", 3); Every method is synchronous: it blocks on the broker (bounded by default.api.timeout.ms, settable with setConfig) and returns native Aussom maps and lists. Shared shapes: topic-partition maps { "topic", "partition" }; offsets lists (those maps plus "offset"); ACL binding maps { "resourceType", "name", "patternType", "principal", "host", "operation", "permissionType" }.

Methods