serverless-plugins icon indicating copy to clipboard operation
serverless-plugins copied to clipboard

[serverless-offline-dynamodb-streams] doesn't work for empty table

Open kalitamih opened this issue 5 years ago • 2 comments

Good day! It seems that this plugin doesn't work with empty table. After I add something in the table, plugin works for my case.

kalitamih avatar Sep 20 '19 12:09 kalitamih

I can confirm. Thanks for posting this. I was tearing my hair out trying to figure out why my streams weren't creating the expected counts. Turns out it wasn't running when the table was empty.

drc-jpoehler avatar Oct 08 '19 13:10 drc-jpoehler

Hello, and sorry for late answer

This is unfortunately a known issue that is likely to be related to dynamodb-local. There is a comment about that in the tests: https://github.com/CoorpAcademy/serverless-plugins/blob/master/tests/serverless-plugins-integration/test-dynamodb-streams.js#L15

Might be forth it to mention it in the README

(also @kalitamih isn't in fact that the same problem you mentioned in #82 ? you so it could be closed)

AdrieanKhisbe avatar Sep 25 '20 14:09 AdrieanKhisbe