spring-cloud-stream-samples
spring-cloud-stream-samples copied to clipboard
sample how to handle errors while producing to Kinesis Stream
Hi,
could you please update https://github.com/spring-cloud/spring-cloud-stream-samples/tree/master/kinesis-samples/kinesis-produce-consume with sample how to handle errors when sending messages to Kinesis Stream?
Errors I'm thinking about are: invalid stream (non existing) name, missing PutRecord right or ProvisionedThroughputExceededException.
I'd like to see how to intercept such an error and log it.
Kind Regards, Jarek