Index
All Classes and Interfaces|All Packages
B
- build() - Method in class io.streamnative.kafka.client.api.ProduceContext.ProduceContextBuilder
- builder() - Static method in class io.streamnative.kafka.client.api.ProduceContext
C
- commitOffsetSync(List<TopicOffsetAndMetadata>, Duration) - Method in interface io.streamnative.kafka.client.api.Consumer
- complete(T, Exception) - Method in class io.streamnative.kafka.client.api.ProduceContext
-
Complete the internal `future` field.
- Consumer<K,
V> - Interface in io.streamnative.kafka.client.api -
A common interface of Kafka consumer.
- ConsumerConfiguration - Class in io.streamnative.kafka.client.api
-
The configuration of Kafka consumer.
- ConsumerConfiguration() - Constructor for class io.streamnative.kafka.client.api.ConsumerConfiguration
- ConsumerRecord<K,
V> - Class in io.streamnative.kafka.client.api -
A completable class of org.apache.kafka.clients.consumer.ConsumerRecord.
- ConsumerRecord() - Constructor for class io.streamnative.kafka.client.api.ConsumerRecord
- create(T) - Static method in class io.streamnative.kafka.client.api.ConsumerRecord
- create(T) - Static method in class io.streamnative.kafka.client.api.RecordMetadata
-
Create the RecordMetadata instance from Kafka's send result.
- createOffsetAndMetadata(Class<T>) - Method in class io.streamnative.kafka.client.api.TopicOffsetAndMetadata
- createOldRecord(T) - Static method in class io.streamnative.kafka.client.api.ConsumerRecord
- createTopicPartition(Class<T>) - Method in class io.streamnative.kafka.client.api.TopicOffsetAndMetadata
- createV0ProducerRecord(Class<T>) - Method in class io.streamnative.kafka.client.api.ProduceContext
-
Create an instance of Kafka's ProducerRecord less than 0.10.x.
- createV1ProducerRecord(Class<T>) - Method in class io.streamnative.kafka.client.api.ProduceContext
-
Create an instance of Kafka's ProducerRecord less than 0.11.x.
- createV2ProducerRecord(Class<T>, BiFunction<String, byte[], HeaderT>) - Method in class io.streamnative.kafka.client.api.ProduceContext
-
Create an instance of Kafka's ProducerRecord for kafka version higher than or equal to 0.11.x.
D
- DEFAULT - Enum constant in enum io.streamnative.kafka.client.api.KafkaVersion
E
- equals(Object) - Method in class io.streamnative.kafka.client.api.Header
F
- fromHeaders(Object[]) - Static method in class io.streamnative.kafka.client.api.Header
-
Create a list of Header from a list of Kafka header.
G
- getStringDeserializer() - Method in enum io.streamnative.kafka.client.api.KafkaVersion
- getStringSerializer() - Method in enum io.streamnative.kafka.client.api.KafkaVersion
H
- hashCode() - Method in class io.streamnative.kafka.client.api.Header
- Header - Class in io.streamnative.kafka.client.api
-
A compatible class of Kafka header (org.apache.kafka.common.header.Header).
- Header() - Constructor for class io.streamnative.kafka.client.api.Header
I
- invoke(Class<T>, String, Object) - Static method in class io.streamnative.kafka.client.api.ReflectionUtils
-
Invoke a method of an object but throw an unchecked exception.
- io.streamnative.kafka.client.api - package io.streamnative.kafka.client.api
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
K
- KAFKA_0_10_0_0 - Enum constant in enum io.streamnative.kafka.client.api.KafkaVersion
- KAFKA_0_9_0_0 - Enum constant in enum io.streamnative.kafka.client.api.KafkaVersion
- KAFKA_1_0_0 - Enum constant in enum io.streamnative.kafka.client.api.KafkaVersion
- KAFKA_2_8_0 - Enum constant in enum io.streamnative.kafka.client.api.KafkaVersion
- KAFKA_3_0_0 - Enum constant in enum io.streamnative.kafka.client.api.KafkaVersion
- KafkaVersion - Enum in io.streamnative.kafka.client.api
-
The version that represents Kafka client's version.
L
- listTopics(long) - Method in interface io.streamnative.kafka.client.api.Consumer
N
- newContextBuilder(String, V) - Method in interface io.streamnative.kafka.client.api.Producer
- newContextBuilder(String, V, Integer) - Method in interface io.streamnative.kafka.client.api.Producer
P
- ProduceContext<K,
V> - Class in io.streamnative.kafka.client.api -
Context for producing messages.
- ProduceContext() - Constructor for class io.streamnative.kafka.client.api.ProduceContext
- ProduceContext.ProduceContextBuilder<K,
V> - Class in io.streamnative.kafka.client.api - ProduceContextBuilder() - Constructor for class io.streamnative.kafka.client.api.ProduceContext.ProduceContextBuilder
- Producer<K,
V> - Interface in io.streamnative.kafka.client.api -
A common interface of Kafka producer.
- ProducerConfiguration - Class in io.streamnative.kafka.client.api
-
The configuration of Kafka producer.
- ProducerConfiguration() - Constructor for class io.streamnative.kafka.client.api.ProducerConfiguration
R
- receive(long) - Method in interface io.streamnative.kafka.client.api.Consumer
- receiveUntil(int, long) - Method in interface io.streamnative.kafka.client.api.Consumer
-
Receive messages as much as possible until the number of received messages time exceeds limit or timed out.
- RecordMetadata - Class in io.streamnative.kafka.client.api
-
A compatible class of Kafka's send result (org.apache.kafka.clients.producer.RecordMetadata).
- RecordMetadata() - Constructor for class io.streamnative.kafka.client.api.RecordMetadata
- ReflectionUtils - Class in io.streamnative.kafka.client.api
-
Utils methods for reflection.
- ReflectionUtils() - Constructor for class io.streamnative.kafka.client.api.ReflectionUtils
S
- sendAsync() - Method in class io.streamnative.kafka.client.api.ProduceContext
-
Send the message using ProduceContext instead of using Producer directly.
- sendAsync(ProduceContext<K, V>) - Method in interface io.streamnative.kafka.client.api.Producer
- subscribe(String) - Method in interface io.streamnative.kafka.client.api.Consumer
- subscribe(Collection<String>) - Method in interface io.streamnative.kafka.client.api.Consumer
- supportHeader() - Method in enum io.streamnative.kafka.client.api.KafkaVersion
- supportSaslPlainAuthentication() - Method in enum io.streamnative.kafka.client.api.KafkaVersion
T
- toHeaders(List<Header>, BiFunction<String, byte[], T>) - Static method in class io.streamnative.kafka.client.api.Header
-
Convert a list of Header to a list of Kafka Header.
- TopicOffsetAndMetadata - Class in io.streamnative.kafka.client.api
-
A completable class of org.apache.kafka.clients.consumer.OffsetAndMetadata.
- TopicOffsetAndMetadata() - Constructor for class io.streamnative.kafka.client.api.TopicOffsetAndMetadata
- toProperties() - Method in class io.streamnative.kafka.client.api.ConsumerConfiguration
- toProperties() - Method in class io.streamnative.kafka.client.api.ProducerConfiguration
- toString() - Method in class io.streamnative.kafka.client.api.RecordMetadata
V
- valueOf(String) - Static method in enum io.streamnative.kafka.client.api.KafkaVersion
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.streamnative.kafka.client.api.KafkaVersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages