Add cloud-stream module: Spring Cloud Stream 5.1 on Boot 4.2 with Kafka and RabbitMQ binders
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
e54cf840fd
commit
e2c42dc268
@@ -0,0 +1,14 @@
|
||||
$ profile kafka, function definition = bill, enable-dlq=true, max-attempts=3
|
||||
bill attempts: o-1=1 o-2=3 o-3=1
|
||||
billed: o-1=1 o-2=0 o-3=1 (o-3 was behind the poison record on the same partition)
|
||||
DLQ topic invoices-k3.billing.dlq holds 1 record(s)
|
||||
payload: {"orderId":"o-2","customerId":"bob","total":-1.0}
|
||||
header x-original-topic = invoices-k3
|
||||
header x-original-partition = 0
|
||||
header x-original-offset = 1
|
||||
header x-original-timestamp = (epoch millis, omitted)
|
||||
header x-original-timestamp-type = CreateTime
|
||||
header x-exception-fqcn = org.springframework.messaging.MessagingException
|
||||
header x-exception-message = error occurred in message handler [org.springframework.cloud.stream.function.FunctionConfi...
|
||||
header x-exception-stacktrace = org.springframework.messaging.MessagingException: Retry policy for operation 'org.springfr...
|
||||
stack trace mentions the real cause (IllegalArgumentException: Refusing to bill o-2): true
|
||||
Reference in New Issue
Block a user