You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -445,10 +445,10 @@ var assembler = assemblerOf(Transaction.class)
445
445
```
446
446
[:arrow_up:](#table-of-contents)
447
447
448
-
### Auto Caching
448
+
### Stream Table
449
449
In addition to the cache mechanism provided by the `cached()` and `cachedMany()` functions, ***Assembler*** also provides a mechanism to automatically and asynchronously update the cache in real-time as new data becomes available via the `streamTable()` function. This ensures that the cache is always up-to-date and avoids in most cases the need for `cached()` to fall back to fetch missing data.
450
450
451
-
The auto caching mechanism in ***Assembler*** (via `streamTable()`) can be seen as being conceptually similar to a `KTable` in Kafka. Both mechanisms provide a way to keep a key-value store updated in real-time with the latest value per key from its associated data stream. However, ***Assembler*** is not limited to just Kafka data sources and can work with any data source that can be consumed in a reactive stream.
451
+
The Stream Table mechanism in ***Assembler*** (via `streamTable()`) can be seen as being conceptually similar to a `KTable` in Kafka. Both mechanisms provide a way to keep a key-value store updated in real-time with the latest value per key from its associated data stream. However, ***Assembler*** is not limited to just Kafka data sources and can work with any data source that can be consumed in a reactive stream.
452
452
453
453
This is how `streamTable()` connects to a data stream and automatically and asynchronously update the cache in real-time:
454
454
@@ -483,7 +483,7 @@ var transactionFlux = getCustomers()
483
483
.flatMapSequential(assembler::assemble);
484
484
```
485
485
486
-
It is also possible to customize the Auto Caching configuration via `streamTableBuilder()`:
486
+
It is also possible to customize the Stream Table configuration via `streamTableBuilder()`:
0 commit comments