-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
aws:kinesisAmazon KinesisAmazon Kinesisgood first issueGood item to work on for newcomersGood item to work on for newcomersstatus: confirmedBug report was confirmedBug report was confirmedstatus: response requiredWaiting for a response from the reporterWaiting for a response from the reportertype: bugBug reportBug report
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When attempting to call PutRecord or PutRecords with a stream-arn, localstack returns an error:
An error occurred (InternalError) when calling the PutRecord operation (reached max retries: 4): exception while calling kinesis.PutRecord: KinesisProvider.put_record() got an unexpected keyword argument 'stream_arn'
Expected Behavior
Successful putting of records
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)
docker run localstack/localstack
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
awslocal kinesis create-stream --stream-name example
awslocal kinesis describe-stream --stream-name example <-- extract StreamARN
root@edab333956f5:/opt/code/localstack# awslocal kinesis put-record --stream-arn arn:aws:kinesis:eu-west-2:000000000000:stream/example --data 'example' --partition-key 1
Environment
- OS: Ubuntu 20.04
- LocalStack: LatestAnything else?
put_record does not allow stream_arn as an argument: https://github.com/localstack/localstack/blob/master/localstack/services/kinesis/provider.py#L116-L124
put_records does not allow stream_arn as an argument: https://github.com/localstack/localstack/blob/master/localstack/services/kinesis/provider.py#L133-L135
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aws:kinesisAmazon KinesisAmazon Kinesisgood first issueGood item to work on for newcomersGood item to work on for newcomersstatus: confirmedBug report was confirmedBug report was confirmedstatus: response requiredWaiting for a response from the reporterWaiting for a response from the reportertype: bugBug reportBug report