spring-cloud-stream-samples icon indicating copy to clipboard operation
spring-cloud-stream-samples copied to clipboard

sample how to handle errors while producing to Kinesis Stream

Open jkatnik opened this issue 5 years ago • 0 comments

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

jkatnik avatar Oct 21 '20 09:10 jkatnik