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
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ It offers an abstraction (the **binding**) that works the same whatever undernea
17
17
18
18
You can also check out [Spring Cloud Stream Kafka Streams first steps](https://github.com/rogervinas/spring-cloud-stream-kafka-streams-first-steps) where I got working a simple example using **Kafka Streams binder**.
19
19
20
-
In this one the goal is to use the **Kafka Streams binder** and the [Kafka Streams Processor API](https://kafka.apache.org/documentation/streams/developer-guide/processor-api.html) to implement the following scenario:
20
+
In this one the goal is to use the **Kafka Streams binder** and the [Kafka Streams Processor API](https://kafka.apache.org/documentation/streams/developer-guide/processor-api.html) to implement the following scenario:
21
21
22
22

23
23
@@ -97,7 +97,7 @@ fun `should publish expired event for one user`() {
97
97
98
98
We start first with our **UserStateStream** implementation as a **Function**:
99
99
* Which input is a **KStream<String, UserTokenEvent>**, as we want a **String** as the Kafka message's key and a **UserTokenEvent** as the Kafka message's value
100
-
* Which output is a **KStream<String, UserStateEvent>**, same here, **String** as the key and **UserStateEvent** as the value
100
+
* Which output is a **KStream<String, UserStateEvent>**, same here, **String** as the key and **UserStateEvent** as the value
101
101
102
102
```kotlin
103
103
classUserStateStream(
@@ -156,7 +156,7 @@ We can generate **completed** **UserStateEvents** straightaway once we receive t
156
156
```kotlin
157
157
data classUserState(valuserId:String = "", valtokens:List<Int> = emptyList()) {
0 commit comments