-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KinesisBackend.put_record should notify cloudwatch metrics #7498
Comments
Hi @LMaterne, I'll mark it as an enhancement. Can you elaborate a bit on what your test would look like? The docs specifically mention that I can think of a few approaches around this, but having some insight into how this feature would be used would be helpful to make sure that the solution makes sense. |
My concrete test case looks like this: I want to test a lambda function that scales the number of shard counts in provisioned kinesis streams based on the amount of incoming traffic. The logic uses the stream metrics for that. The integration test would look like putting some messages into a newly created kinesis stream and checking if the lambda function scales the stream correctly. My current solution: Do not put records into the stream but directly update the cloudwatch metrics. |
moto/moto/kinesis/models.py
Line 410 in 005ead3
The text was updated successfully, but these errors were encountered: