spring-cloud / spring-cloud-stream-samples

Samples for Spring Cloud Stream
Apache License 2.0
956 stars 676 forks source link

sample how to handle errors while producing to Kinesis Stream #194

Open jkatnik opened 3 years ago

jkatnik commented 3 years ago

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