From 586a447105d9fb481e3c6504f0750149c0d4e59a Mon Sep 17 00:00:00 2001
From: Bill Bejeck Streams API
The new public interfaces
inMemoryWindowStore() and inMemorySessionStore() are added to Stores and provide the built-in in-memory window or session store.
+ As of 2.3.0 we've updated how to turn on optimizations. Now to enable optimizations, you need to do two things.
+ First, add this line to your properties properties.setProperty(StreamsConfig.TOPOLOGY_OPTIMIZATION, StreamsConfig.OPTIMIZE);, as you have done before.
+ Second, when constructing your KafkaStreams instance, you'll need to pass your configuration properties when building your
+ topology via the overloaded StreamsBuilder.build(Properties) method.
+ For example KafkaStreams myStream = new KafkaStreams(streamsBuilder.build(properties), properties).
+
In 2.3.0 we have added default implementation to
As of 2.3.0 we've updated how to turn on optimizations. Now to enable optimizations, you need to do two things.
- First, add this line to your properties close() and configure() for Serializer,
Deserializer and Serde so that they can be implemented by lambda expression.
From 1d385c6930f51a78e1827808699b669e0180343d Mon Sep 17 00:00:00 2001
From: Bill Bejeck Streams API
properties.setProperty(StreamsConfig.TOPOLOGY_OPTIMIZATION, StreamsConfig.OPTIMIZE);, as you have done before.
+ First add this line to your properties properties.setProperty(StreamsConfig.TOPOLOGY_OPTIMIZATION, StreamsConfig.OPTIMIZE);, as you have done before.
Second, when constructing your KafkaStreams instance, you'll need to pass your configuration properties when building your
topology via the overloaded StreamsBuilder.build(Properties) method.
For example KafkaStreams myStream = new KafkaStreams(streamsBuilder.build(properties), properties).
From 9f9d7e12ab9215343f1c7f905176c6421d0225e6 Mon Sep 17 00:00:00 2001
From: Bill Bejeck Streams API
As of 2.3.0 we've updated how to turn on optimizations. Now to enable optimizations, you need to do two things.
First add this line to your properties
properties.setProperty(StreamsConfig.TOPOLOGY_OPTIMIZATION, StreamsConfig.OPTIMIZE);, as you have done before.
Second, when constructing your KafkaStreams instance, you'll need to pass your configuration properties when building your
- topology via the overloaded StreamsBuilder.build(Properties) method.
+ topology by using the overloaded StreamsBuilder.build(Properties) method.
For example KafkaStreams myStream = new KafkaStreams(streamsBuilder.build(properties), properties).