Skip navigation links
A C D I K M P Q R S Z 

A

adminZkClient() - Method in class io.thill.kafkalite.client.KafkaLiteClient
 

C

clean() - Static method in class io.thill.kafkalite.KafkaLite
Delete all existing Kafka topics.
cleanOnShutdown() - Static method in class io.thill.kafkalite.KafkaLite
Clean kafka and zookeeper directories on JVM shutdown
close() - Method in class io.thill.kafkalite.client.KafkaLiteClient
 
close() - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
 
consumerProperties(Class<?>, Class<?>) - Static method in class io.thill.kafkalite.KafkaLite
Create a consumer properties using the given deserializers
createTopic(String, int) - Static method in class io.thill.kafkalite.KafkaLite
If started, create a topic on the running Kafka instance with a 1 hour retention.
createTopic(String, int, long) - Static method in class io.thill.kafkalite.KafkaLite
If started, create a topic on the running Kafka instance.

D

deleteTopic(String) - Static method in class io.thill.kafkalite.KafkaLite
If started, delete a topic on the running Kafka instance.

I

io.thill.kafkalite - package io.thill.kafkalite
 
io.thill.kafkalite.client - package io.thill.kafkalite.client
 
io.thill.kafkalite.exception - package io.thill.kafkalite.exception
 
io.thill.kafkalite.internal - package io.thill.kafkalite.internal
 
isEmpty() - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
 
isEmpty(long) - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
 

K

KAFKA_DIR - Static variable in class io.thill.kafkalite.internal.KafkaLiteConfig
 
KAFKA_PROPERTIES - Static variable in class io.thill.kafkalite.internal.KafkaLiteConfig
 
kafkaConsumer() - Method in class io.thill.kafkalite.client.KafkaLiteClient
 
KafkaLite - Class in io.thill.kafkalite
Manage the lifecycle and topics
KafkaLite() - Constructor for class io.thill.kafkalite.KafkaLite
 
KafkaLiteClient - Class in io.thill.kafkalite.client
Superset of relevant Zookeeper and Kafka clients for managing a KafkaLite instance
KafkaLiteClient() - Constructor for class io.thill.kafkalite.client.KafkaLiteClient
 
KafkaLiteConfig - Class in io.thill.kafkalite.internal
 
KafkaLiteConfig() - Constructor for class io.thill.kafkalite.internal.KafkaLiteConfig
 
KafkaLiteException - Exception in io.thill.kafkalite.exception
 
KafkaLiteException(String) - Constructor for exception io.thill.kafkalite.exception.KafkaLiteException
 
KafkaLiteException(String, Throwable) - Constructor for exception io.thill.kafkalite.exception.KafkaLiteException
 
kafkaZkClient() - Method in class io.thill.kafkalite.client.KafkaLiteClient
 
KB_PORT - Static variable in class io.thill.kafkalite.internal.KafkaLiteConfig
 

M

main(String...) - Static method in class io.thill.kafkalite.KafkaLite
Main method to start a KafkaLite instance.

P

poll() - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
Poll a single record, waiting for up to one second for it to be available.
poll(long) - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
Poll a single record, waiting for up to the given number of milliseconds for it to be available.
poll(long, TimeUnit) - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
Poll a single record, waiting for up to the given time/timeUnit for it to be available.
producerProperties(Class<?>, Class<?>) - Static method in class io.thill.kafkalite.KafkaLite
Create a producer properties using the given serializers

Q

QueuedKafkaConsumer<K,V> - Class in io.thill.kafkalite.client
Queueing Kafka Consumer, useful for tests since it can poll 1 message at a time with a timeout
QueuedKafkaConsumer(TopicPartition, Properties) - Constructor for class io.thill.kafkalite.client.QueuedKafkaConsumer
 

R

reset() - Static method in class io.thill.kafkalite.KafkaLite
Clean and start

S

seekToBeginning() - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
Seek to beginning of topic partition
seekToEnd() - Method in class io.thill.kafkalite.client.QueuedKafkaConsumer
Seek to end of topic partition
start() - Static method in class io.thill.kafkalite.KafkaLite
If not already started, start Zookeeper and Kafka now.
stop() - Static method in class io.thill.kafkalite.KafkaLite
If started, stop Kafka and Zookeeper now.

Z

ZK_PORT - Static variable in class io.thill.kafkalite.internal.KafkaLiteConfig
 
zkClient() - Method in class io.thill.kafkalite.client.KafkaLiteClient
 
ZOOKEEPER_DIR - Static variable in class io.thill.kafkalite.internal.KafkaLiteConfig
 
A C D I K M P Q R S Z 
Skip navigation links

Copyright © 2019. All rights reserved.