File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1- # Processing Error Handling with DSL
1+ # Handling Processing Errors in Kafka Streams DSL
22
3- This module demonstrates how the processing exception handler can be used to handle processing exceptions in Kafka Streams DSL operations.
3+ This module demonstrates how to use the processing exception handler to manage processing errors in Kafka Streams DSL operations.
44
55## Run
66
@@ -24,11 +24,13 @@ This will start the following services in Docker:
2424
2525## Try it
2626
27- From Control Center running on http://localhost:9021 , you can produce ` DeliveryBooked ` events to the topic ` delivery_booked_topic ` .
27+ From Control Center running at http://localhost:9021 , you can produce ` DeliveryBooked ` events to the ` delivery_booked_topic ` topic.
28+
29+ ### Example Record
2830
2931Key:
3032
31- ```
33+ ``` json
3234" DEL12345"
3335```
3436
@@ -43,14 +45,14 @@ Value:
4345}
4446```
4547
46- To trigger the processing exception handler, you can produce a record with an incorrect format:
48+ ### Triggering an Exception
4749
48- Value with missing ` numberOfTires ` , triggering a ` NullPointerException ` :
50+ To trigger the processing exception handler, produce a record with missing ` numberOfTires ` , which will result in a ` NullPointerException ` :
4951
5052``` json
5153{
5254 "deliveryId" : " DEL12345" ,
5355 "truckId" : " TRK56789" ,
5456 "destination" : " Bordeaux"
5557}
56- ```
58+ ```
You can’t perform that action at this time.
0 commit comments