A B C D E F G H I J K L M N O P Q R S T U V W Z 

A

AbstractProcessor<K,V> - Class in org.apache.kafka.streams.processor
An abstract implementation of Processor that manages the ProcessorContext instance and provides default no-op implementations of AbstractProcessor.punctuate(long) and AbstractProcessor.close().
AbstractProcessor() - Constructor for class org.apache.kafka.streams.processor.AbstractProcessor
 
accepts(StateStore) - Method in interface org.apache.kafka.streams.state.QueryableStoreType
Called when searching for StateStores to see if they match the type expected by implementors of this interface
addInternalTopic(String) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Adds an internal topic
addLatencySensor(String, String, String, String...) - Method in interface org.apache.kafka.streams.StreamsMetrics
Add the latency sensor.
addProcessor(String, ProcessorSupplier, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new processor node that receives and processes records output by one or more parent source or processor node.
addSink(String, String, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new sink that forwards records from upstream parent processor and/or source nodes to the named Kafka topic.
addSink(String, String, StreamPartitioner, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new sink that forwards records from upstream parent processor and/or source nodes to the named Kafka topic, using the supplied partitioner.
addSink(String, String, Serializer, Serializer, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new sink that forwards records from upstream parent processor and/or source nodes to the named Kafka topic.
addSink(String, String, Serializer<K>, Serializer<V>, StreamPartitioner<K, V>, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new sink that forwards records from upstream parent processor and/or source nodes to the named Kafka topic.
addSource(String, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new source that consumes the named topics and forward the records to child processor and/or sink nodes.
addSource(String, Pattern) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new source that consumes from topics matching the given pattern and forward the records to child processor and/or sink nodes.
addSource(String, Deserializer, Deserializer, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new source that consumes the named topics and forwards the records to child processor and/or sink nodes.
addSource(String, Deserializer, Deserializer, Pattern) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Add a new source that consumes from topics matching the given pattern and forwards the records to child processor and/or sink nodes.
addStateStore(StateStoreSupplier, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Adds a state store
advance - Variable in class org.apache.kafka.streams.kstream.TimeWindows
The size of the window's advance interval, i.e.
advanceBy(long) - Method in class org.apache.kafka.streams.kstream.TimeWindows
Returns a window definition with the original size, but advance ("hop") the window by the given interval, which specifies by how much a window moves forward relative to the previous one.
after - Variable in class org.apache.kafka.streams.kstream.JoinWindows
Maximum time difference for tuples that are after the join tuple.
after(long) - Method in class org.apache.kafka.streams.kstream.JoinWindows
Specifies that records of the same key are joinable if their timestamps are within the join window interval, and if the timestamp of a record from the secondary stream is later than or equal to the timestamp of a record from the first stream.
aggregate(Initializer<T>, Aggregator<K, V, T>, Serde<T>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedStream
Aggregate values of this stream by key into a new instance of a KTable.
aggregate(Initializer<T>, Aggregator<K, V, T>, Windows<W>, Serde<T>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedStream
Aggregate values of this stream by key on a window basis into a new instance of windowed KTable.
aggregate(Initializer<T>, Aggregator<K, V, T>, Aggregator<K, V, T>, Serde<T>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedTable
Aggregate updating values of this stream by the selected key into a new instance of KTable.
aggregate(Initializer<T>, Aggregator<K, V, T>, Aggregator<K, V, T>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedTable
Aggregate updating values of this stream by the selected key into a new instance of KTable using default serializers and deserializers.
Aggregator<K,V,T> - Interface in org.apache.kafka.streams.kstream
The Aggregator interface for aggregating values of the given key.
all() - Method in interface org.apache.kafka.streams.state.ReadOnlyKeyValueStore
Return an iterator over all keys in this store.
allMetadata() - Method in class org.apache.kafka.streams.KafkaStreams
Find all of the instances of StreamsMetadata in the KafkaStreams application that this instance belongs to Note: this is a point in time view and it may change due to partition reassignment.
allMetadataForStore(String) - Method in class org.apache.kafka.streams.KafkaStreams
Find instances of StreamsMetadata that contains the given storeName Note: this is a point in time view and it may change due to partition reassignment.
appConfigs() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns all the application config properties as key/value pairs.
appConfigsWithPrefix(String) - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns all the application config properties with the given key prefix, as key/value pairs stripping the prefix.
APPLICATION_ID_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
application.id
APPLICATION_ID_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
APPLICATION_SERVER_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
user.endpoint
APPLICATION_SERVER_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
applicationId() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the application id
apply(K, V, T) - Method in interface org.apache.kafka.streams.kstream.Aggregator
Compute a new aggregate from the key and value of a record and the current aggregate of the same key.
apply(K, V) - Method in interface org.apache.kafka.streams.kstream.ForeachAction
Perform an action for each record of a stream.
apply() - Method in interface org.apache.kafka.streams.kstream.Initializer
Return the initial value for an aggregation.
apply(K, V) - Method in interface org.apache.kafka.streams.kstream.KeyValueMapper
Map a record with the given key and value to a new value.
apply(V, V) - Method in interface org.apache.kafka.streams.kstream.Reducer
Aggregate the two given values into a single one.
apply(V1, V2) - Method in interface org.apache.kafka.streams.kstream.ValueJoiner
Return a joined value consisting of value1 and value2.
apply(V1) - Method in interface org.apache.kafka.streams.kstream.ValueMapper
Map the given value to a new value.
approximateNumEntries() - Method in interface org.apache.kafka.streams.state.ReadOnlyKeyValueStore
Return an approximate count of key-value mappings in this store.

B

before - Variable in class org.apache.kafka.streams.kstream.JoinWindows
Maximum time difference for tuples that are before the join tuple.
before(long) - Method in class org.apache.kafka.streams.kstream.JoinWindows
Specifies that records of the same key are joinable if their timestamps are within the join window interval, and if the timestamp of a record from the secondary stream is earlier than or equal to the timestamp of a record from the first stream.
BOOTSTRAP_SERVERS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
bootstrap.servers
branch(Predicate<K, V>...) - Method in interface org.apache.kafka.streams.kstream.KStream
Creates an array of KStream from this stream by branching the elements in the original stream based on the supplied predicates.
BUFFERED_RECORDS_PER_PARTITION_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
buffered.records.per.partition
build(Integer) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Build the topology for the specified topic group.
build() - Method in interface org.apache.kafka.streams.state.Stores.InMemoryKeyValueFactory
Return the instance of StateStoreSupplier of new key-value store.
build() - Method in interface org.apache.kafka.streams.state.Stores.PersistentKeyValueFactory
Return the instance of StateStoreSupplier of new key-value store.

C

CACHE_MAX_BYTES_BUFFERING_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
cache.max.bytes.buffering
CACHE_MAX_BYTES_BUFFERING_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
cleanUp() - Method in class org.apache.kafka.streams.KafkaStreams
Cleans up local state store directory (state.dir), by deleting all data with regard to the application-id.
CLIENT_ID_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
client.id
close() - Method in class org.apache.kafka.streams.KafkaStreams
Shutdown this stream instance by signaling all the threads to stop, and then wait for them to join.
close() - Method in interface org.apache.kafka.streams.kstream.Transformer
Close this processor and clean up any resources.
close() - Method in interface org.apache.kafka.streams.kstream.ValueTransformer
Close this processor and clean up any resources.
close() - Method in class org.apache.kafka.streams.processor.AbstractProcessor
Close this processor and clean up any resources.
close() - Method in interface org.apache.kafka.streams.processor.Processor
Close this processor and clean up any resources.
close() - Method in interface org.apache.kafka.streams.processor.StateStore
Close the storage engine.
close() - Method in interface org.apache.kafka.streams.state.KeyValueIterator
 
close() - Method in interface org.apache.kafka.streams.state.WindowStoreIterator
 
commit() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Requests a commit
COMMIT_INTERVAL_MS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
commit.interval.ms
compareTo(TaskId) - Method in class org.apache.kafka.streams.processor.TaskId
 
connectProcessorAndStateStores(String, String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Connects the processor and the state stores
connectProcessors(String...) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Connects a list of processors.
connectSourceStoreAndTopic(String, String) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
 
CONSUMER_PREFIX - Static variable in class org.apache.kafka.streams.StreamsConfig
 
consumerPrefix(String) - Static method in class org.apache.kafka.streams.StreamsConfig
Prefix a property with StreamsConfig.CONSUMER_PREFIX.
ConsumerRecordTimestampExtractor - Class in org.apache.kafka.streams.processor
Retrieves built-in timestamps from Kafka messages (introduced in KIP-32: Add timestamps to Kafka message).
ConsumerRecordTimestampExtractor() - Constructor for class org.apache.kafka.streams.processor.ConsumerRecordTimestampExtractor
 
context() - Method in class org.apache.kafka.streams.processor.AbstractProcessor
Get the processor's context set during initialization.
copartitionGroups() - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Returns the copartition groups.
copartitionSources(Collection<String>) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Asserts that the streams of the specified source nodes must be copartitioned.
count(String) - Method in interface org.apache.kafka.streams.kstream.KGroupedStream
Count number of records of this stream by key into a new instance of a KTable.
count(Windows<W>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedStream
Count number of records of this stream by key on a window basis into a new instance of windowed KTable.
count(String) - Method in interface org.apache.kafka.streams.kstream.KGroupedTable
Count number of records of this stream by the selected key into a new instance of KTable.
create(StateStoreProvider, String) - Method in interface org.apache.kafka.streams.state.QueryableStoreType
Create an instance of T (usually a facade) that developers can use to query the underlying StateStores
create(String) - Static method in class org.apache.kafka.streams.state.Stores
Begin to create a new StateStoreSupplier instance.

D

DefaultPartitionGrouper - Class in org.apache.kafka.streams.processor
Default implementation of the PartitionGrouper interface that groups partitions by the partition id.
DefaultPartitionGrouper() - Constructor for class org.apache.kafka.streams.processor.DefaultPartitionGrouper
 
delete(K) - Method in interface org.apache.kafka.streams.state.KeyValueStore
Delete the value from the store (if there is one)
disableLogging() - Method in interface org.apache.kafka.streams.state.Stores.InMemoryKeyValueFactory
Indicates that a changelog should not be created for the key-value store
disableLogging() - Method in interface org.apache.kafka.streams.state.Stores.PersistentKeyValueFactory
Indicates that a changelog should not be created for the key-value store

E

enableCaching() - Method in interface org.apache.kafka.streams.state.Stores.PersistentKeyValueFactory
Caching should be enabled on the created store.
enableLogging(Map<String, String>) - Method in interface org.apache.kafka.streams.state.Stores.InMemoryKeyValueFactory
Indicates that a changelog should be created for the store.
enableLogging(Map<String, String>) - Method in interface org.apache.kafka.streams.state.Stores.PersistentKeyValueFactory
Indicates that a changelog should be created for the store.
end() - Method in class org.apache.kafka.streams.kstream.Window
Return the end timestamp of this window, exclusive
equals(Object) - Method in class org.apache.kafka.streams.KeyValue
 
equals(Object) - Method in class org.apache.kafka.streams.kstream.JoinWindows
 
equals(Object) - Method in class org.apache.kafka.streams.kstream.TimeWindows
 
equals(Object) - Method in class org.apache.kafka.streams.kstream.UnlimitedWindows
 
equals(Object) - Method in class org.apache.kafka.streams.kstream.Window
 
equals(Object) - Method in class org.apache.kafka.streams.kstream.Windowed
 
equals(Object) - Method in class org.apache.kafka.streams.processor.TaskId
 
equals(Object) - Method in class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
equals(Object) - Method in class org.apache.kafka.streams.state.HostInfo
 
equals(Object) - Method in class org.apache.kafka.streams.state.StreamsMetadata
 
extract(ConsumerRecord<Object, Object>) - Method in class org.apache.kafka.streams.processor.ConsumerRecordTimestampExtractor
 
extract(ConsumerRecord<Object, Object>) - Method in interface org.apache.kafka.streams.processor.TimestampExtractor
Extracts a timestamp from a record.
extract(ConsumerRecord<Object, Object>) - Method in class org.apache.kafka.streams.processor.WallclockTimestampExtractor
Return the current wall clock time as timestamp.

F

fetch(K, long, long) - Method in interface org.apache.kafka.streams.state.ReadOnlyWindowStore
Get all the key-value pairs with the given key and the time range from all the existing windows.
filter(Predicate<K, V>) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new instance of KStream that consists of all elements of this stream which satisfy a predicate.
filter(Predicate<K, V>) - Method in interface org.apache.kafka.streams.kstream.KTable
Create a new instance of KTable that consists of all elements of this stream which satisfy a predicate.
filterNot(Predicate<K, V>) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new instance of KStream that consists all elements of this stream which do not satisfy a predicate.
filterNot(Predicate<K, V>) - Method in interface org.apache.kafka.streams.kstream.KTable
Create a new instance of KTable that consists all elements of this stream which do not satisfy a predicate.
flatMap(KeyValueMapper<K, V, Iterable<KeyValue<K1, V1>>>) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new instance of KStream by transforming each element in this stream into zero or more elements in the new stream.
flatMapValues(ValueMapper<V, Iterable<V1>>) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new instance of KStream by transforming the value of each element in this stream into zero or more values with the same key in the new stream.
flush() - Method in interface org.apache.kafka.streams.processor.StateStore
Flush any cached data
foreach(ForeachAction<K, V>) - Method in interface org.apache.kafka.streams.kstream.KStream
Perform an action on each element of KStream.
foreach(ForeachAction<K, V>) - Method in interface org.apache.kafka.streams.kstream.KTable
Perform an action on each element of KTable.
ForeachAction<K,V> - Interface in org.apache.kafka.streams.kstream
The ForeachAction interface for performing an action on a key-value pair.
forward(K, V) - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Forwards a key/value pair to the downstream processors
forward(K, V, int) - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Forwards a key/value pair to one of the downstream processors designated by childIndex
forward(K, V, String) - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Forwards a key/value pair to one of the downstream processors designated by the downstream processor name

G

get() - Method in interface org.apache.kafka.streams.kstream.TransformerSupplier
Return a new Transformer instance.
get() - Method in interface org.apache.kafka.streams.kstream.ValueTransformerSupplier
Return a new ValueTransformer instance.
get() - Method in interface org.apache.kafka.streams.processor.ProcessorSupplier
Return a new Processor instance.
get() - Method in interface org.apache.kafka.streams.processor.StateStoreSupplier
Return a new StateStore instance.
get(K) - Method in interface org.apache.kafka.streams.state.ReadOnlyKeyValueStore
Get the value corresponding to this key.
getConsumer(Map<String, Object>) - Method in interface org.apache.kafka.streams.KafkaClientSupplier
Creates an instance of Consumer which is used to consume records of source topics.
getConsumerConfigs(StreamThread, String, String) - Method in class org.apache.kafka.streams.StreamsConfig
Get the configs specific to the Consumer.
getProducer(Map<String, Object>) - Method in interface org.apache.kafka.streams.KafkaClientSupplier
Creates an instance of Producer which is used to produce records.
getProducerConfigs(String) - Method in class org.apache.kafka.streams.StreamsConfig
Get the configs for the Producer.
getRestoreConsumer(Map<String, Object>) - Method in interface org.apache.kafka.streams.KafkaClientSupplier
Creates an instance of Consumer which is used to consume records of internal topics.
getRestoreConsumerConfigs(String) - Method in class org.apache.kafka.streams.StreamsConfig
Get the consumer config for the restore-consumer.
getStateStore(String) - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Get the state store given the store name.
getStoreName() - Method in interface org.apache.kafka.streams.kstream.KTable
Get the name of the local state store used for materializing this KTable
groupBy(KeyValueMapper<K, V, K1>) - Method in interface org.apache.kafka.streams.kstream.KStream
Group the records of this KStream using the provided KeyValueMapper and default serializers and deserializers.
groupBy(KeyValueMapper<K, V, K1>, Serde<K1>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KStream
Group the records of this KStream using the provided KeyValueMapper.
groupBy(KeyValueMapper<K, V, KeyValue<K1, V1>>, Serde<K1>, Serde<V1>) - Method in interface org.apache.kafka.streams.kstream.KTable
Group the records of this KTable using the provided KeyValueMapper.
groupBy(KeyValueMapper<K, V, KeyValue<K1, V1>>) - Method in interface org.apache.kafka.streams.kstream.KTable
Group the records of this KTable using the provided KeyValueMapper and default serializers and deserializers.
groupByKey() - Method in interface org.apache.kafka.streams.kstream.KStream
Group the records with the same key into a KGroupedStream while preserving the original values.
groupByKey(Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KStream
Group the records with the same key into a KGroupedStream while preserving the original values.

H

hashCode() - Method in class org.apache.kafka.streams.KeyValue
 
hashCode() - Method in class org.apache.kafka.streams.kstream.JoinWindows
 
hashCode() - Method in class org.apache.kafka.streams.kstream.TimeWindows
 
hashCode() - Method in class org.apache.kafka.streams.kstream.UnlimitedWindows
 
hashCode() - Method in class org.apache.kafka.streams.kstream.Window
 
hashCode() - Method in class org.apache.kafka.streams.kstream.Windowed
 
hashCode() - Method in class org.apache.kafka.streams.processor.TaskId
 
hashCode() - Method in class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
hashCode() - Method in class org.apache.kafka.streams.state.HostInfo
 
hashCode() - Method in class org.apache.kafka.streams.state.StreamsMetadata
 
host() - Method in class org.apache.kafka.streams.state.HostInfo
 
host() - Method in class org.apache.kafka.streams.state.StreamsMetadata
 
HostInfo - Class in org.apache.kafka.streams.state
Represents a user defined endpoint in a KafkaStreams application.
HostInfo(String, int) - Constructor for class org.apache.kafka.streams.state.HostInfo
 
hostInfo() - Method in class org.apache.kafka.streams.state.StreamsMetadata
 

I

init(ProcessorContext) - Method in interface org.apache.kafka.streams.kstream.Transformer
Initialize this transformer with the given context.
init(ProcessorContext) - Method in interface org.apache.kafka.streams.kstream.ValueTransformer
Initialize this transformer with the given context.
init(ProcessorContext) - Method in class org.apache.kafka.streams.processor.AbstractProcessor
 
init(ProcessorContext) - Method in interface org.apache.kafka.streams.processor.Processor
Initialize this processor with the given context.
init(ProcessorContext, StateStore) - Method in interface org.apache.kafka.streams.processor.StateStore
Initializes this state store
Initializer<T> - Interface in org.apache.kafka.streams.kstream
The Initializer interface for creating an initial value in aggregations.
inMemory() - Method in interface org.apache.kafka.streams.state.Stores.KeyValueFactory
Keep all key-value entries in-memory, although for durability all entries are recorded in a Kafka topic that can be read to restore the entries if they are lost.
interSourceTopics - Variable in class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
InvalidStateStoreException - Exception in org.apache.kafka.streams.errors
Indicates that there was a problem when trying to access a StateStore, i.e, the Store is no longer valid because it is closed or doesn't exist any more due to a rebalance.
InvalidStateStoreException(String) - Constructor for exception org.apache.kafka.streams.errors.InvalidStateStoreException
 
isOpen() - Method in interface org.apache.kafka.streams.processor.StateStore
Is this store open for reading and writing

J

join(KStream<K, V1>, ValueJoiner<V, V1, R>, JoinWindows, Serde<K>, Serde<V>, Serde<V1>) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine element values of this stream with another KStream's elements of the same key using windowed Inner Join.
join(KStream<K, V1>, ValueJoiner<V, V1, R>, JoinWindows) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine element values of this stream with another KStream's elements of the same key using windowed Inner Join with default serializers and deserializers.
join(KTable<K, V1>, ValueJoiner<V, V1, R>) - Method in interface org.apache.kafka.streams.kstream.KTable
Combine values of this stream with another KTable stream's elements of the same key using Inner Join.
JoinWindows - Class in org.apache.kafka.streams.kstream
The window specifications used for joins.

K

KafkaClientSupplier - Interface in org.apache.kafka.streams
 
KafkaStreams - Class in org.apache.kafka.streams
Kafka Streams allows for performing continuous computation on input coming from one or more input topics and sends output to zero or more output topics.
KafkaStreams(TopologyBuilder, Properties) - Constructor for class org.apache.kafka.streams.KafkaStreams
Construct the stream instance.
KafkaStreams(TopologyBuilder, StreamsConfig) - Constructor for class org.apache.kafka.streams.KafkaStreams
Construct the stream instance.
KafkaStreams(TopologyBuilder, StreamsConfig, KafkaClientSupplier) - Constructor for class org.apache.kafka.streams.KafkaStreams
Construct the stream instance.
key - Variable in class org.apache.kafka.streams.KeyValue
The key of the key-value pair.
key() - Method in class org.apache.kafka.streams.kstream.Windowed
Return the key of the window.
KEY_SERDE_CLASS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
key.serde
KEY_SERDE_CLASS_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
keyDeserializer() - Method in class org.apache.kafka.streams.state.StateSerdes
Return the key deserializer.
keyFrom(byte[]) - Method in class org.apache.kafka.streams.state.StateSerdes
Deserialize the key from raw bytes.
keySerde() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the default key serde
keySerde() - Method in class org.apache.kafka.streams.state.StateSerdes
Return the key serde.
keySerde() - Method in class org.apache.kafka.streams.StreamsConfig
 
keySerializer() - Method in class org.apache.kafka.streams.state.StateSerdes
Return the key serializer.
KeyValue<K,V> - Class in org.apache.kafka.streams
A key-value pair defined for a single Kafka Streams record.
KeyValue(K, V) - Constructor for class org.apache.kafka.streams.KeyValue
Create a new key-value pair.
KeyValueIterator<K,V> - Interface in org.apache.kafka.streams.state
Iterator interface of KeyValue.
KeyValueMapper<K,V,R> - Interface in org.apache.kafka.streams.kstream
The KeyValueMapper interface for mapping a key-value pair to a new value (could be another key-value pair).
KeyValueStore<K,V> - Interface in org.apache.kafka.streams.state
A key-value store that supports put/get/delete and range queries.
keyValueStore() - Static method in class org.apache.kafka.streams.state.QueryableStoreTypes
KGroupedStream<K,V> - Interface in org.apache.kafka.streams.kstream
KGroupedStream is an abstraction of a grouped record stream of key-value pairs usually grouped on a different key than the original stream key
KGroupedTable<K,V> - Interface in org.apache.kafka.streams.kstream
KGroupedTable is an abstraction of a grouped changelog stream from a primary-keyed table, usually on a different grouping key than the original primary key.
KStream<K,V> - Interface in org.apache.kafka.streams.kstream
KStream is an abstraction of a record stream of key-value pairs.
KStreamBuilder - Class in org.apache.kafka.streams.kstream
KStreamBuilder is a subclass of TopologyBuilder that provides the Kafka Streams DSL for users to specify computational logic and translates the given logic to a ProcessorTopology.
KStreamBuilder() - Constructor for class org.apache.kafka.streams.kstream.KStreamBuilder
Create a new KStreamBuilder instance.
KTable<K,V> - Interface in org.apache.kafka.streams.kstream
KTable is an abstraction of a changelog stream from a primary-keyed table.

L

leftJoin(KStream<K, V1>, ValueJoiner<V, V1, R>, JoinWindows, Serde<K>, Serde<V>, Serde<V1>) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine values of this stream with another KStream's elements of the same key using windowed Left Join.
leftJoin(KStream<K, V1>, ValueJoiner<V, V1, R>, JoinWindows) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine values of this stream with another KStream's elements of the same key using windowed Left Join with default serializers and deserializers.
leftJoin(KTable<K, V1>, ValueJoiner<V, V1, V2>) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine values of this stream with KTable's elements of the same key using non-windowed Left Join.
leftJoin(KTable<K, V1>, ValueJoiner<V, V1, V2>, Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine values of this stream with KTable's elements of the same key using non-windowed Left Join.
leftJoin(KTable<K, V1>, ValueJoiner<V, V1, R>) - Method in interface org.apache.kafka.streams.kstream.KTable
Combine values of this stream with another KTable stream's elements of the same key using Left Join.
logConfig() - Method in interface org.apache.kafka.streams.processor.StateStoreSupplier
Returns a Map containing any log configs that will be used when creating the changelog for the StateStore Note: any unrecognized configs will be ignored by the Kafka brokers.
loggingEnabled() - Method in interface org.apache.kafka.streams.processor.StateStoreSupplier
 

M

main(String[]) - Static method in class org.apache.kafka.streams.StreamsConfig
 
maintainMs() - Method in class org.apache.kafka.streams.kstream.Windows
Return the window maintain duration in milliseconds of system time.
map(KeyValueMapper<K, V, KeyValue<K1, V1>>) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new instance of KStream by transforming each element in this stream into a different element in the new stream.
mapValues(ValueMapper<V, V1>) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new instance of KStream by transforming the value of each element in this stream into a new value in the new stream.
mapValues(ValueMapper<V, V1>) - Method in interface org.apache.kafka.streams.kstream.KTable
Create a new instance of KTable by transforming the value of each element in this stream into a new value in the new stream.
maxEntries(int) - Method in interface org.apache.kafka.streams.state.Stores.InMemoryKeyValueFactory
Limits the in-memory key-value store to hold a maximum number of entries.
maxNumPartitions(Cluster, Set<String>) - Method in class org.apache.kafka.streams.processor.DefaultPartitionGrouper
 
merge(KStream<K, V>...) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a new instance of KStream by merging the given streams.
metadataForKey(String, K, Serializer<K>) - Method in class org.apache.kafka.streams.KafkaStreams
Find the StreamsMetadata instance that contains the given storeName and the corresponding hosted store instance contains the given key.
metadataForKey(String, K, StreamPartitioner<K, ?>) - Method in class org.apache.kafka.streams.KafkaStreams
Find the StreamsMetadata instance that contains the given storeName and the corresponding hosted store instance contains the given key Note: the key may not exist in the StateStore, this method provides a way of finding which host it would exist on.
METRIC_REPORTER_CLASSES_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
metric.reporters
metrics() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns Metrics instance
METRICS_NUM_SAMPLES_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
metrics.num.samples
METRICS_SAMPLE_WINDOW_MS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
metrics.sample.window.ms

N

name() - Method in interface org.apache.kafka.streams.processor.StateStore
The name of this store.
name() - Method in interface org.apache.kafka.streams.processor.StateStoreSupplier
Return the name of this state store supplier.
newName(String) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a unique processor name used for translation into the processor topology.
nodeGroups() - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Returns the map of node groups keyed by the topic group id.
NOT_AVAILABLE - Static variable in class org.apache.kafka.streams.state.StreamsMetadata
Sentinel to indicate that the StreamsMetadata is currently unavailable.
NUM_STANDBY_REPLICAS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
num.standby.replicas
NUM_STREAM_THREADS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
num.stream.threads

O

of(long) - Static method in class org.apache.kafka.streams.kstream.JoinWindows
Specifies that records of the same key are joinable if their timestamps are within timeDifference.
of(long) - Static method in class org.apache.kafka.streams.kstream.TimeWindows
Returns a window definition with the given window size, and with the advance interval being equal to the window size.
of() - Static method in class org.apache.kafka.streams.kstream.UnlimitedWindows
Return an unlimited window starting at timestamp zero.
offset() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the offset of the current input record; could be -1 if it is not available (for example, if this method is invoked from the punctuate call)
org.apache.kafka.streams - package org.apache.kafka.streams
 
org.apache.kafka.streams.errors - package org.apache.kafka.streams.errors
 
org.apache.kafka.streams.kstream - package org.apache.kafka.streams.kstream
 
org.apache.kafka.streams.processor - package org.apache.kafka.streams.processor
 
org.apache.kafka.streams.state - package org.apache.kafka.streams.state
 
outerJoin(KStream<K, V1>, ValueJoiner<V, V1, R>, JoinWindows, Serde<K>, Serde<V>, Serde<V1>) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine values of this stream with another KStream's elements of the same key using windowed Outer Join.
outerJoin(KStream<K, V1>, ValueJoiner<V, V1, R>, JoinWindows) - Method in interface org.apache.kafka.streams.kstream.KStream
Combine values of this stream with another KStream's elements of the same key using windowed Outer Join with default serializers and deserializers.
outerJoin(KTable<K, V1>, ValueJoiner<V, V1, R>) - Method in interface org.apache.kafka.streams.kstream.KTable
Combine values of this stream with another KTable stream's elements of the same key using Outer Join.
overlap(Window) - Method in class org.apache.kafka.streams.kstream.Window
Check if the given window overlaps with this window.

P

pair(K, V) - Static method in class org.apache.kafka.streams.KeyValue
Create a new key-value pair.
parse(String) - Static method in class org.apache.kafka.streams.processor.TaskId
 
partition() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the partition id of the current input record; could be -1 if it is not available (for example, if this method is invoked from the punctuate call)
partition(K, V, int) - Method in interface org.apache.kafka.streams.processor.StreamPartitioner
Determine the partition number for a record with the given key and value and the current number of partitions.
partition - Variable in class org.apache.kafka.streams.processor.TaskId
The ID of the partition.
PARTITION_GROUPER_CLASS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
partition.grouper
PartitionGrouper - Interface in org.apache.kafka.streams.processor
A partition grouper that generates partition groups given the list of topic-partitions.
partitionGroups(Map<Integer, Set<String>>, Cluster) - Method in class org.apache.kafka.streams.processor.DefaultPartitionGrouper
Generate tasks with the assigned topic partitions.
partitionGroups(Map<Integer, Set<String>>, Cluster) - Method in interface org.apache.kafka.streams.processor.PartitionGrouper
Returns a map of task ids to groups of partitions.
persistent() - Method in interface org.apache.kafka.streams.processor.StateStore
Return if the storage is persistent or not.
persistent() - Method in interface org.apache.kafka.streams.state.Stores.KeyValueFactory
Keep all key-value entries off-heap in a local database, although for durability all entries are recorded in a Kafka topic that can be read to restore the entries if they are lost.
POLL_MS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
poll.ms
port() - Method in class org.apache.kafka.streams.state.HostInfo
 
port() - Method in class org.apache.kafka.streams.state.StreamsMetadata
 
Predicate<K,V> - Interface in org.apache.kafka.streams.kstream
The Predicate interface represents a predicate (boolean-valued function) of a key-value pair.
print() - Method in interface org.apache.kafka.streams.kstream.KStream
Print the elements of this stream to System.out.
print(String) - Method in interface org.apache.kafka.streams.kstream.KStream
Print the elements of this stream to System.out.
print(Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KStream
Print the elements of this stream to System.out.
print(Serde<K>, Serde<V>, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Print the elements of this stream to System.out
print() - Method in interface org.apache.kafka.streams.kstream.KTable
Print the elements of this stream to System.out.
print(String) - Method in interface org.apache.kafka.streams.kstream.KTable
Print the elements of this stream to System.out.
print(Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KTable
Print the elements of this stream to System.out
print(Serde<K>, Serde<V>, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Print the elements of this stream to System.out
process(ProcessorSupplier<K, V>, String...) - Method in interface org.apache.kafka.streams.kstream.KStream
Process all elements in this stream, one element at a time, by applying a Processor.
process(K, V) - Method in interface org.apache.kafka.streams.processor.Processor
Process the record with the given key and value.
Processor<K,V> - Interface in org.apache.kafka.streams.processor
A processor of key-value pair records.
ProcessorContext - Interface in org.apache.kafka.streams.processor
Processor context interface.
ProcessorStateException - Exception in org.apache.kafka.streams.errors
Indicates a processor state operation (e.g.
ProcessorStateException(String) - Constructor for exception org.apache.kafka.streams.errors.ProcessorStateException
 
ProcessorStateException(String, Throwable) - Constructor for exception org.apache.kafka.streams.errors.ProcessorStateException
 
ProcessorStateException(Throwable) - Constructor for exception org.apache.kafka.streams.errors.ProcessorStateException
 
ProcessorSupplier<K,V> - Interface in org.apache.kafka.streams.processor
A processor supplier that can create one or more Processor instances.
PRODUCER_PREFIX - Static variable in class org.apache.kafka.streams.StreamsConfig
 
producerPrefix(String) - Static method in class org.apache.kafka.streams.StreamsConfig
Prefix a property with StreamsConfig.PRODUCER_PREFIX.
punctuate(long) - Method in interface org.apache.kafka.streams.kstream.Transformer
Perform any periodic operations and possibly generate a key, if this processor schedule itself with the context during initialization.
punctuate(long) - Method in interface org.apache.kafka.streams.kstream.ValueTransformer
Perform any periodic operations and possibly return a new value, if this processor schedule itself with the context during initialization.
punctuate(long) - Method in class org.apache.kafka.streams.processor.AbstractProcessor
Perform any periodic operations, if this processor schedule itself with the context during initialization.
punctuate(long) - Method in interface org.apache.kafka.streams.processor.Processor
Perform any periodic operations, if this processor schedule itself with the context during initialization.
put(K, V) - Method in interface org.apache.kafka.streams.state.KeyValueStore
Update the value associated with this key
put(K, V) - Method in interface org.apache.kafka.streams.state.WindowStore
Put a key-value pair with the current wall-clock time as the timestamp into the corresponding window
put(K, V, long) - Method in interface org.apache.kafka.streams.state.WindowStore
Put a key-value pair with the given timestamp into the corresponding window
putAll(List<KeyValue<K, V>>) - Method in interface org.apache.kafka.streams.state.KeyValueStore
Update all the given key/value pairs
putIfAbsent(K, V) - Method in interface org.apache.kafka.streams.state.KeyValueStore
Update the value associated with this key, unless a value is already associated with the key

Q

QueryableStoreType<T> - Interface in org.apache.kafka.streams.state
Used to enable querying of custom StateStore types via the KafkaStreams API.
QueryableStoreTypes - Class in org.apache.kafka.streams.state
Provides access to the QueryableStoreTypes provided with KafkaStreams.
QueryableStoreTypes() - Constructor for class org.apache.kafka.streams.state.QueryableStoreTypes
 

R

range(K, K) - Method in interface org.apache.kafka.streams.state.ReadOnlyKeyValueStore
Get an iterator over a given range of keys.
rawKey(K) - Method in class org.apache.kafka.streams.state.StateSerdes
Serialize the given key.
rawValue(V) - Method in class org.apache.kafka.streams.state.StateSerdes
Serialize the given value.
readFrom(DataInputStream) - Static method in class org.apache.kafka.streams.processor.TaskId
 
readFrom(ByteBuffer) - Static method in class org.apache.kafka.streams.processor.TaskId
 
ReadOnlyKeyValueStore<K,V> - Interface in org.apache.kafka.streams.state
A key value store that only supports read operations.
ReadOnlyWindowStore<K,V> - Interface in org.apache.kafka.streams.state
A window store that only supports read operations Implementations should be thread-safe as concurrent reads and writes are expected.
recordLatency(Sensor, long, long) - Method in interface org.apache.kafka.streams.StreamsMetrics
Record the given latency value of the sensor.
reduce(Reducer<V>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedStream
Combine values of this stream by the grouped key into a new instance of ever-updating KTable.
reduce(Reducer<V>, Windows<W>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedStream
Combine values of this stream by key on a window basis into a new instance of windowed KTable.
reduce(Reducer<V>, Reducer<V>, String) - Method in interface org.apache.kafka.streams.kstream.KGroupedTable
Combine updating values of this stream by the selected key into a new instance of KTable.
Reducer<V> - Interface in org.apache.kafka.streams.kstream
The Reducer interface for combining two values of the same type into a new value.
register(StateStore, boolean, StateRestoreCallback) - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Registers and possibly restores the specified storage engine.
REPLICATION_FACTOR_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
replication.factor
REPLICATION_FACTOR_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
restore(byte[], byte[]) - Method in interface org.apache.kafka.streams.processor.StateRestoreCallback
 
ROCKSDB_CONFIG_SETTER_CLASS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
rocksdb.config.setter
ROCKSDB_CONFIG_SETTER_CLASS_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
RocksDBConfigSetter - Interface in org.apache.kafka.streams.state
An interface to that allows developers to customize the RocksDB settings for a given Store.

S

schedule(long) - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Schedules a periodic operation for processors.
segments - Variable in class org.apache.kafka.streams.kstream.Windows
 
segments(int) - Method in class org.apache.kafka.streams.kstream.Windows
Specify the number of segments to be used for rolling the window store, this function is not exposed to users but can be called by developers that extend this JoinWindows specs.
selectKey(KeyValueMapper<K, V, K1>) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new key from the current key and value.
setApplicationId(String) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Set the applicationId to be used for auto-generated internal topics.
setConfig(String, Options, Map<String, Object>) - Method in interface org.apache.kafka.streams.state.RocksDBConfigSetter
Set the rocks db options for the provided storeName.
setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.apache.kafka.streams.KafkaStreams
Sets the handler invoked when a stream thread abruptly terminates due to an uncaught exception.
sinkTopics - Variable in class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
size() - Method in class org.apache.kafka.streams.kstream.JoinWindows
 
size - Variable in class org.apache.kafka.streams.kstream.TimeWindows
The size of the window, i.e.
size() - Method in class org.apache.kafka.streams.kstream.TimeWindows
 
size() - Method in class org.apache.kafka.streams.kstream.UnlimitedWindows
 
size() - Method in class org.apache.kafka.streams.kstream.Windows
 
sourceTopicPattern() - Method in class org.apache.kafka.streams.processor.TopologyBuilder
 
sourceTopics() - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Get the names of topics that are to be consumed by the source nodes created by this builder.
sourceTopics - Variable in class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
start() - Method in class org.apache.kafka.streams.KafkaStreams
Start the stream instance by starting all its threads.
start - Variable in class org.apache.kafka.streams.kstream.UnlimitedWindows
The start timestamp of the window.
start() - Method in class org.apache.kafka.streams.kstream.Window
Return the start timestamp of this window, inclusive
startOn(long) - Method in class org.apache.kafka.streams.kstream.UnlimitedWindows
Return a new unlimited window for the specified start timestamp.
STATE_CLEANUP_DELAY_MS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
state.cleanup.delay
STATE_DIR_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
state.dir
stateChangelogTopics - Variable in class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
stateDir() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the state directory for the partition.
stateName() - Method in class org.apache.kafka.streams.state.StateSerdes
Return the name of the state.
StateRestoreCallback - Interface in org.apache.kafka.streams.processor
Restoration logic for log-backed state stores upon restart, it takes one record at a time from the logs to apply to the restoring state.
StateSerdes<K,V> - Class in org.apache.kafka.streams.state
Factory for creating serializers / deserializers for state stores in Kafka Streams.
StateSerdes(String, Serde<K>, Serde<V>) - Constructor for class org.apache.kafka.streams.state.StateSerdes
Create a context for serialization using the specified serializers and deserializers which must match the key and value types used as parameters for this object; the state changelog topic is provided to bind this serde factory to, so that future calls for serialize / deserialize do not need to provide the topic name any more.
StateStore - Interface in org.apache.kafka.streams.processor
A storage engine for managing state maintained by a stream processor.
stateStoreNames() - Method in class org.apache.kafka.streams.state.StreamsMetadata
 
stateStoreNameToSourceTopics() - Method in class org.apache.kafka.streams.processor.TopologyBuilder
 
StateStoreSupplier - Interface in org.apache.kafka.streams.processor
A state store supplier which can create one or more StateStore instances.
store(String, QueryableStoreType<T>) - Method in class org.apache.kafka.streams.KafkaStreams
Get a facade wrapping the StateStore instances with the provided storeName and accepted by QueryableStoreType.accepts(StateStore).
Stores - Class in org.apache.kafka.streams.state
Factory for creating state stores in Kafka Streams.
Stores() - Constructor for class org.apache.kafka.streams.state.Stores
 
Stores.InMemoryKeyValueFactory<K,V> - Interface in org.apache.kafka.streams.state
The interface used to create in-memory key-value stores.
Stores.KeyValueFactory<K,V> - Interface in org.apache.kafka.streams.state
 
Stores.PersistentKeyValueFactory<K,V> - Interface in org.apache.kafka.streams.state
The interface used to create off-heap key-value stores that use a local database.
Stores.StoreFactory - Class in org.apache.kafka.streams.state
 
Stores.StoreFactory() - Constructor for class org.apache.kafka.streams.state.Stores.StoreFactory
 
Stores.ValueFactory<K> - Class in org.apache.kafka.streams.state
The factory for creating off-heap key-value stores.
Stores.ValueFactory() - Constructor for class org.apache.kafka.streams.state.Stores.ValueFactory
 
stream(String...) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a KStream instance from the specified topics.
stream(Pattern) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a KStream instance from the specified Pattern.
stream(Serde<K>, Serde<V>, String...) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a KStream instance from the specified topics.
stream(Serde<K>, Serde<V>, Pattern) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a KStream instance from the specified Pattern.
STREAM_THREAD_INSTANCE - Static variable in class org.apache.kafka.streams.StreamsConfig.InternalConfig
 
StreamPartitioner<K,V> - Interface in org.apache.kafka.streams.processor
Determine how records are distributed among the partitions in a Kafka topic.
StreamsConfig - Class in org.apache.kafka.streams
Configuration for Kafka Streams.
StreamsConfig(Map<?, ?>) - Constructor for class org.apache.kafka.streams.StreamsConfig
 
StreamsConfig.InternalConfig - Class in org.apache.kafka.streams
 
StreamsConfig.InternalConfig() - Constructor for class org.apache.kafka.streams.StreamsConfig.InternalConfig
 
StreamsException - Exception in org.apache.kafka.streams.errors
StreamsException is the top-level exception type generated by Kafka Streams.
StreamsException(String) - Constructor for exception org.apache.kafka.streams.errors.StreamsException
 
StreamsException(String, Throwable) - Constructor for exception org.apache.kafka.streams.errors.StreamsException
 
StreamsException(Throwable) - Constructor for exception org.apache.kafka.streams.errors.StreamsException
 
StreamsMetadata - Class in org.apache.kafka.streams.state
Represents the state of an instance (process) in a KafkaStreams application.
StreamsMetadata(HostInfo, Set<String>, Set<TopicPartition>) - Constructor for class org.apache.kafka.streams.state.StreamsMetadata
 
StreamsMetrics - Interface in org.apache.kafka.streams
The Kafka Streams metrics interface for adding metric sensors and collecting metric values.

T

table(String, String) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a KTable instance for the specified topic.
table(Serde<K>, Serde<V>, String, String) - Method in class org.apache.kafka.streams.kstream.KStreamBuilder
Create a KTable instance for the specified topic.
TaskAssignmentException - Exception in org.apache.kafka.streams.errors
Indicates a run time error incurred while trying to assign stream tasks to threads
TaskAssignmentException(String) - Constructor for exception org.apache.kafka.streams.errors.TaskAssignmentException
 
TaskAssignmentException(String, Throwable) - Constructor for exception org.apache.kafka.streams.errors.TaskAssignmentException
 
TaskAssignmentException(Throwable) - Constructor for exception org.apache.kafka.streams.errors.TaskAssignmentException
 
taskId() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the task id
TaskId - Class in org.apache.kafka.streams.processor
The task ID representation composed as topic group ID plus the assigned partition ID.
TaskId(int, int) - Constructor for class org.apache.kafka.streams.processor.TaskId
 
TaskIdFormatException - Exception in org.apache.kafka.streams.errors
Indicates a run time error incurred while trying parse the task id from the read string
TaskIdFormatException(String) - Constructor for exception org.apache.kafka.streams.errors.TaskIdFormatException
 
test(K, V) - Method in interface org.apache.kafka.streams.kstream.Predicate
Test if the record with the given key and value satisfies the predicate.
through(String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic, also creates a new instance of KStream from the topic using default serializers and deserializers and producer's DefaultPartitioner.
through(StreamPartitioner<K, V>, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic, also creates a new instance of KStream from the topic using default serializers and deserializers and a customizable StreamPartitioner to determine the distribution of records to partitions.
through(Serde<K>, Serde<V>, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic, also creates a new instance of KStream from the topic.
through(Serde<K>, Serde<V>, StreamPartitioner<K, V>, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic, also creates a new instance of KStream from the topic using a customizable StreamPartitioner to determine the distribution of records to partitions.
through(String, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic, also creates a new instance of KTable from the topic using default serializers and deserializers and producer's DefaultPartitioner.
through(StreamPartitioner<K, V>, String, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic, also creates a new instance of KTable from the topic using default serializers and deserializers and a customizable StreamPartitioner to determine the distribution of records to partitions.
through(Serde<K>, Serde<V>, String, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic, also creates a new instance of KTable from the topic.
through(Serde<K>, Serde<V>, StreamPartitioner<K, V>, String, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic, also creates a new instance of KTable from the topic using a customizable StreamPartitioner to determine the distribution of records to partitions.
timestamp() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the current timestamp.
TIMESTAMP_EXTRACTOR_CLASS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
timestamp.extractor
TimestampExtractor - Interface in org.apache.kafka.streams.processor
An interface that allows the Kafka Streams framework to extract a timestamp from an instance of ConsumerRecord.
TimeWindows - Class in org.apache.kafka.streams.kstream
The time-based window specifications used for aggregations.
to(String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic using default serializers specified in the config and producer's DefaultPartitioner.
to(StreamPartitioner<K, V>, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic using default serializers specified in the config and a customizable StreamPartitioner to determine the distribution of records to partitions.
to(Serde<K>, Serde<V>, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic.
to(Serde<K>, Serde<V>, StreamPartitioner<K, V>, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Materialize this stream to a topic using a customizable StreamPartitioner to determine the distribution of records to partitions.
to(String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic using default serializers specified in the config and producer's DefaultPartitioner.
to(StreamPartitioner<K, V>, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic using default serializers specified in the config and a customizable StreamPartitioner to determine the distribution of records to partitions.
to(Serde<K>, Serde<V>, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic.
to(Serde<K>, Serde<V>, StreamPartitioner<K, V>, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Materialize this stream to a topic using a customizable StreamPartitioner to determine the distribution of records to partitions.
topic() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the topic name of the current input record; could be null if it is not available (for example, if this method is invoked from the punctuate call)
topicGroupId - Variable in class org.apache.kafka.streams.processor.TaskId
The ID of the topic group.
topicGroups() - Method in class org.apache.kafka.streams.processor.TopologyBuilder
Returns the map of topic groups keyed by the group id.
topicPartitions() - Method in class org.apache.kafka.streams.state.StreamsMetadata
 
TopologyBuilder - Class in org.apache.kafka.streams.processor
A component that is used to build a ProcessorTopology.
TopologyBuilder() - Constructor for class org.apache.kafka.streams.processor.TopologyBuilder
Create a new builder.
TopologyBuilder.TopicsInfo - Class in org.apache.kafka.streams.processor
 
TopologyBuilder.TopicsInfo(Set<String>, Set<String>, Map<String, InternalTopicConfig>, Map<String, InternalTopicConfig>) - Constructor for class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
TopologyBuilderException - Exception in org.apache.kafka.streams.errors
Indicates a pre-run time error incurred while parsing the builder to construct the processor topology
TopologyBuilderException(String) - Constructor for exception org.apache.kafka.streams.errors.TopologyBuilderException
 
toStream() - Method in interface org.apache.kafka.streams.kstream.KTable
Convert this stream to a new instance of KStream.
toStream(KeyValueMapper<K, V, K1>) - Method in interface org.apache.kafka.streams.kstream.KTable
Convert this stream to a new instance of KStream using the given KeyValueMapper to select the new key.
toString() - Method in class org.apache.kafka.streams.KafkaStreams
Produces a string representation contain useful information about Kafka Streams Such as thread IDs, task IDs and a representation of the topology.
toString() - Method in class org.apache.kafka.streams.KeyValue
 
toString() - Method in class org.apache.kafka.streams.kstream.Windowed
 
toString() - Method in class org.apache.kafka.streams.processor.TaskId
 
toString() - Method in class org.apache.kafka.streams.processor.TopologyBuilder.TopicsInfo
 
toString() - Method in class org.apache.kafka.streams.state.HostInfo
 
toString() - Method in class org.apache.kafka.streams.state.StreamsMetadata
 
transform(TransformerSupplier<K, V, KeyValue<K1, V1>>, String...) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new KStream instance by applying a Transformer to all elements in this stream, one element at a time.
transform(K, V) - Method in interface org.apache.kafka.streams.kstream.Transformer
Transform the record with the given key and value.
transform(V) - Method in interface org.apache.kafka.streams.kstream.ValueTransformer
Transform the record with the given key and value.
Transformer<K,V,R> - Interface in org.apache.kafka.streams.kstream
A stateful Transformer interface for transform a key-value pair into a new value.
TransformerSupplier<K,V,R> - Interface in org.apache.kafka.streams.kstream
A TransformerSupplier interface which can create one or more Transformer instances.
transformValues(ValueTransformerSupplier<V, R>, String...) - Method in interface org.apache.kafka.streams.kstream.KStream
Create a new KStream instance by applying a ValueTransformer to all values in this stream, one element at a time.

U

UnlimitedWindows - Class in org.apache.kafka.streams.kstream
The unlimited window specifications.
until(long) - Method in class org.apache.kafka.streams.kstream.Windows
Set the window maintain duration in milliseconds of system time.
updateSubscriptions(StreamPartitionAssignor.SubscriptionUpdates) - Method in class org.apache.kafka.streams.processor.TopologyBuilder
 

V

value - Variable in class org.apache.kafka.streams.KeyValue
The value of the key-value pair.
VALUE_SERDE_CLASS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
value.serde
VALUE_SERDE_CLASS_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
valueDeserializer() - Method in class org.apache.kafka.streams.state.StateSerdes
Return the value deserializer.
valueFrom(byte[]) - Method in class org.apache.kafka.streams.state.StateSerdes
Deserialize the value from raw bytes.
ValueJoiner<V1,V2,R> - Interface in org.apache.kafka.streams.kstream
The ValueJoiner interface for joining two values into a new value.
ValueMapper<V1,V2> - Interface in org.apache.kafka.streams.kstream
The ValueMapper interface for mapping an original value to a new value (could be another key-value pair).
valueSerde() - Method in interface org.apache.kafka.streams.processor.ProcessorContext
Returns the default value serde
valueSerde() - Method in class org.apache.kafka.streams.state.StateSerdes
Return the value serde.
valueSerde() - Method in class org.apache.kafka.streams.StreamsConfig
 
valueSerializer() - Method in class org.apache.kafka.streams.state.StateSerdes
Return the value serializer.
ValueTransformer<V,R> - Interface in org.apache.kafka.streams.kstream
A stateful ValueTransformer interface to transform a value into a new value.
ValueTransformerSupplier<V,R> - Interface in org.apache.kafka.streams.kstream
A ValueTransformerSupplier interface which can create one or more ValueTransformer instances.

W

WallclockTimestampExtractor - Class in org.apache.kafka.streams.processor
Retrieves current wall clock timestamps as System.currentTimeMillis().
WallclockTimestampExtractor() - Constructor for class org.apache.kafka.streams.processor.WallclockTimestampExtractor
 
Window - Class in org.apache.kafka.streams.kstream
A single window instance, defined by its start and end timestamp.
Window(long, long) - Constructor for class org.apache.kafka.streams.kstream.Window
Create a new window for the given start time (inclusive) and end time (exclusive).
window() - Method in class org.apache.kafka.streams.kstream.Windowed
Return the window containing the values associated with this key.
WINDOW_STORE_CHANGE_LOG_ADDITIONAL_RETENTION_MS_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
windowstore.changelog.additional.retention.ms
WINDOW_STORE_CHANGE_LOG_ADDITIONAL_RETENTION_MS_DOC - Static variable in class org.apache.kafka.streams.StreamsConfig
 
Windowed<K> - Class in org.apache.kafka.streams.kstream
Used to represent windowed stream aggregations (e.g.
Windowed(K, Window) - Constructor for class org.apache.kafka.streams.kstream.Windowed
 
windowed(long, long, int, boolean) - Method in interface org.apache.kafka.streams.state.Stores.PersistentKeyValueFactory
Set the persistent store as a windowed key-value store
Windows<W extends Window> - Class in org.apache.kafka.streams.kstream
The window specification interface that can be extended for windowing operation in joins and aggregations.
Windows() - Constructor for class org.apache.kafka.streams.kstream.Windows
 
windowsFor(long) - Method in class org.apache.kafka.streams.kstream.JoinWindows
Not supported by JoinWindows.
windowsFor(long) - Method in class org.apache.kafka.streams.kstream.TimeWindows
 
windowsFor(long) - Method in class org.apache.kafka.streams.kstream.UnlimitedWindows
 
windowsFor(long) - Method in class org.apache.kafka.streams.kstream.Windows
Creates all windows that contain the provided timestamp, indexed by non-negative window start timestamps.
windowStore() - Static method in class org.apache.kafka.streams.state.QueryableStoreTypes
WindowStore<K,V> - Interface in org.apache.kafka.streams.state
A windowed store interface extending StateStore.
WindowStoreIterator<E> - Interface in org.apache.kafka.streams.state
Iterator interface of KeyValue with key typed Long used for ReadOnlyWindowStore.fetch(Object, long, long).
withBuiltinTypes(String, Class<K>, Class<V>) - Static method in class org.apache.kafka.streams.state.StateSerdes
Create a new instance of StateSerdes for the given state name and key-/value-type classes.
withByteArrayKeys() - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the keys will be byte arrays.
withByteArrayValues() - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use byte arrays for values.
withByteBufferKeys() - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the keys will be ByteBuffer.
withByteBufferValues() - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use ByteBuffer for values.
withDoubleKeys() - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the keys will be Doubles.
withDoubleValues() - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use Double values.
withIntegerKeys() - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the keys will be Integers.
withIntegerValues() - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use Integer values.
withKeys(Class<K>) - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the keys.
withKeys(Serde<K>) - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the serializer and deserializer for the keys.
withLongKeys() - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the keys will be Longs.
withLongValues() - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use Long values.
withStringKeys() - Method in class org.apache.kafka.streams.state.Stores.StoreFactory
Begin to create a KeyValueStore by specifying the keys will be Strings.
withStringValues() - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use String values.
withValues(Class<V>) - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use values of the specified type.
withValues(Serde<V>) - Method in class org.apache.kafka.streams.state.Stores.ValueFactory
Use the specified serializer and deserializer for the values.
writeAsText(String) - Method in interface org.apache.kafka.streams.kstream.KStream
Write the elements of this stream to a file at the given path.
writeAsText(String, String) - Method in interface org.apache.kafka.streams.kstream.KStream
Write the elements of this stream to a file at the given path.
writeAsText(String, Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KStream
 
writeAsText(String, String, Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KStream
 
writeAsText(String) - Method in interface org.apache.kafka.streams.kstream.KTable
Write the elements of this stream to a file at the given path using default serializers and deserializers.
writeAsText(String, String) - Method in interface org.apache.kafka.streams.kstream.KTable
Write the elements of this stream to a file at the given path.
writeAsText(String, Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KTable
Write the elements of this stream to a file at the given path.
writeAsText(String, String, Serde<K>, Serde<V>) - Method in interface org.apache.kafka.streams.kstream.KTable
 
writeTo(DataOutputStream) - Method in class org.apache.kafka.streams.processor.TaskId
 
writeTo(ByteBuffer) - Method in class org.apache.kafka.streams.processor.TaskId
 

Z

ZOOKEEPER_CONNECT_CONFIG - Static variable in class org.apache.kafka.streams.StreamsConfig
zookeeper.connect
A B C D E F G H I J K L M N O P Q R S T U V W Z